Let's use a heredoc for this:

```ruby
<<-EOF
[
  "database:active=true",
  "rs_dbrepl:slave_instance_uuid=01-83PJQDO8911IT",
  "rs_login:state=restricted",
  "rs_monitoring:state=active",
  "server:private_ip_0=10.100.0.12",
  "server:public_ip_0=157.56.165.202",
  "server:uuid=01-83PJQDO8911IT",
]
EOF
```