mirror of
https://github.com/inspec/inspec
synced 2024-12-26 13:03:13 +00:00
13 lines
411 B
Ruby
13 lines
411 B
Ruby
|
# encoding: utf-8
|
||
|
# author: Stephan Renatus
|
||
|
#
|
||
|
# installs everyting for the postgres tests
|
||
|
|
||
|
# hw-cookbooks/postgresql is tested on these platforms
|
||
|
case node['platform']
|
||
|
when 'ubuntu', 'centos'
|
||
|
node.default['postgresql']['config']['listen_addresses'] = 'localhost'
|
||
|
node.default['postgresql']['password']['postgres'] = 'md506be11be01439cb4abd537e454df34ea' # "inspec"
|
||
|
include_recipe 'postgresql::server'
|
||
|
end
|