Merge "Do not define service resource when service management is disabled"

This commit is contained in:
Zuul 2022-02-20 11:42:44 +00:00 committed by Gerrit Code Review
commit d99052ce36

View File

@ -62,14 +62,14 @@ define placement::generic_service(
} else { } else {
$service_ensure = 'stopped' $service_ensure = 'stopped'
} }
}
service { $placement_title: service { $placement_title:
ensure => $service_ensure, ensure => $service_ensure,
name => $service_name, name => $service_name,
enable => $enabled, enable => $enabled,
hasstatus => true, hasstatus => true,
tag => 'placement-service', tag => 'placement-service',
}
} }
} }
} }