diff --git a/manifests/params.pp b/manifests/params.pp index 4c9a6d2..217b301 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,6 +1,6 @@ # PRIVATE CLASS: do not use directly class postgresql::params inherits postgresql::globals { - $ensure = true + $ensure = present $version = $globals_version $postgis_version = $globals_postgis_version $listen_addresses = 'localhost' diff --git a/spec/unit/classes/server_spec.rb b/spec/unit/classes/server_spec.rb index a2bff48..8fcf93f 100644 --- a/spec/unit/classes/server_spec.rb +++ b/spec/unit/classes/server_spec.rb @@ -101,7 +101,7 @@ describe 'postgresql::server', :type => :class do it 'should still enable the service' do should contain_service('postgresqld').with({ - :ensure => true, + :ensure => 'running', }) end end