Add switch for service_name that works for centos
Signed-off-by: Ken Barber <ken@bob.sh>
This commit is contained in:
parent
31e9b62a51
commit
1fbc9c6ece
1 changed files with 4 additions and 1 deletions
|
@ -82,7 +82,10 @@ describe 'server without defaults:' do
|
|||
pp = <<-EOS
|
||||
class { 'postgresql::globals':
|
||||
version => "9.2",
|
||||
service_name => "postgresql",
|
||||
service_name => $::osfamily ? {
|
||||
"RedHat" => "postgresql-9.2",
|
||||
"Debian" => "postgresql",
|
||||
},
|
||||
}
|
||||
class { 'postgresql::server':
|
||||
ensure => absent,
|
||||
|
|
Loading…
Reference in a new issue