Revision 3b398aa8
Added by Michael Moll over 8 years ago
manifests/params.pp | ||
---|---|---|
case $::osfamily {
|
||
'Debian' : {
|
||
$agent_restart_command = "/usr/sbin/service ${service_name} reload"
|
||
if ($::operatingsystem == 'Debian') and (versioncmp($::operatingsystemrelease, '8.0') >= 0) {
|
||
if ($::operatingsystem == 'Debian') and (versioncmp($::operatingsystemrelease, '8.0') >= 0) or
|
||
($::operatingsystem == 'Ubuntu') and (versioncmp($::operatingsystemrelease, '15.04') >= 0)
|
||
{
|
||
$unavailable_runmodes = []
|
||
} else {
|
||
$unavailable_runmodes = ['systemd.timer']
|
Also available in: Unified diff
support newer Ubuntu versions