Switch to 'running'/'stopped' to match the test below.
This commit is contained in:
parent
4e002d7fd9
commit
6bf896fa34
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ class postgresql::server::service {
|
||||||
|
|
||||||
if ! $service_ensure {
|
if ! $service_ensure {
|
||||||
$real_service_ensure = $ensure ? {
|
$real_service_ensure = $ensure ? {
|
||||||
present => true,
|
present => 'running',
|
||||||
absent => false,
|
absent => 'stopped',
|
||||||
default => $ensure
|
default => $ensure
|
||||||
}
|
}
|
||||||
$service_enable = $ensure ? {
|
$service_enable = $ensure ? {
|
||||||
|
|
Loading…
Reference in a new issue