- mode 0640
- variables :defaults => defaults, :settings => settings
- if File.exists?("/etc/init.d/postgresql-#{version}")
- notifies :reload, resources(:service => "postgresql-#{version}")
- else
- notifies :reload, resources(:service => "postgresql")
- end
+ mode 0o640
+ variables :standby_mode => standby_mode,
+ :primary_conninfo => primary_conninfo,
+ :restore_command => restore_command,
+ :passwords => passwords
+ notifies :reload, "service[postgresql]"