This is already set in config.pp and so we need to pick a unique
name.
This commit is contained in:
parent
7fb959ee95
commit
791fc3db94
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ describe 'postgresql::server::config_entry:', :unless => UNSUPPORTED_PLATFORMS.i
|
||||||
pp = <<-EOS.unindent
|
pp = <<-EOS.unindent
|
||||||
class { 'postgresql::server': }
|
class { 'postgresql::server': }
|
||||||
|
|
||||||
postgresql::server::config_entry { 'listen_addresses':
|
postgresql::server::config_entry { 'test_listen_addresses':
|
||||||
value => '0.0.0.0',
|
value => '0.0.0.0',
|
||||||
}
|
}
|
||||||
EOS
|
EOS
|
||||||
|
@ -36,7 +36,7 @@ describe 'postgresql::server::config_entry:', :unless => UNSUPPORTED_PLATFORMS.i
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
|
|
||||||
psql('--command="show all" postgres') do |r|
|
psql('--command="show all" postgres') do |r|
|
||||||
r.stdout.should =~ /listen_adresses.+0\.0\.0\.0/
|
r.stdout.should =~ /test_listen_adresses.+0\.0\.0\.0/
|
||||||
r.stderr.should be_empty
|
r.stderr.should be_empty
|
||||||
r.exit_code.should == 0
|
r.exit_code.should == 0
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue