Sha256: 363faf07c7b9de7bcaefce948b6403549dd35baedd5ea223dc7a52354d1ce4d1

Contents?: true

Size: 585 Bytes

Versions: 9

Compression:

Stored size: 585 Bytes

Contents

package "postgresql"

service "postgresql" do
  service_name "postgresql"
  supports :restart => true, :status => true, :reload => true
  action :nothing
end

template "#{node[:postgresql][:dir]}/postgresql.conf" do
  source "postgresql.conf.erb"
  owner "postgres"
  group "postgres"
  mode 0600
  notifies :restart, resources(:service => "postgresql")
end

template "#{node[:postgresql][:dir]}/pg_hba.conf" do
  source "pg_hba.conf.erb"
  owner "postgres"
  group "postgres"
  mode 0600
  notifies :reload, resources(:service => "postgresql"), :immediately
end

monitrc "postgresql"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mana-0.0.10 cookbooks/postgresql/recipes/server.rb
mana-0.0.8 cookbooks/postgresql/recipes/server.rb
mana-0.0.7 cookbooks/postgresql/recipes/server.rb
mana-0.0.6 cookbooks/postgresql/recipes/server.rb
mana-0.0.5 cookbooks/postgresql/recipes/server.rb
mana-0.0.4 cookbooks/postgresql/recipes/server.rb
mana-0.0.3 cookbooks/postgresql/recipes/server.rb
mana-0.0.2 cookbooks/postgresql/recipes/server.rb
mana-0.0.1 cookbooks/postgresql/recipes/server.rb