This should just be in the `file` resource below:

```ruby
file "/tmp/rs-haproxy_remote_request.json" do
  mode 0660
  content ::JSON.pretty_generate({
    'remote_recipe' => {
      'application_bind_ip' => RsApplicationPhp::Helper.get_bind_ip_address(node),
      'application_bind_port' => node['rs-application_php']['listen_port'],
      'application_server_id' => node['rightscale']['instance_uuid'],
      'pool_name' => node['rs-application_php']['application_name'],
      'application_action' => 'attach'
    }
  }
end
```