mirror of
https://github.com/inspec/inspec
synced 2024-12-30 06:53:22 +00:00
97a258ae69
Signed-off-by: Miah Johnson <miah@chia-pet.org>
11 lines
420 B
Ruby
11 lines
420 B
Ruby
#
|
|
# installs everyting for the postgres tests
|
|
|
|
# sous-chefs/postgresql is tested on these platforms
|
|
case node["platform"]
|
|
when "ubuntu", "centos"
|
|
node.default["postgresql"]["enable_pgdg_apt"] = true
|
|
node.default["postgresql"]["config"]["listen_addresses"] = "localhost"
|
|
node.default["postgresql"]["password"]["postgres"] = "md506be11be01439cb4abd537e454df34ea" # "inspec"
|
|
include_recipe "postgresql::server"
|
|
end
|