Project

General

Profile

« Previous | Next » 

Revision 3b398aa8

Added by Michael Moll over 8 years ago

support newer Ubuntu versions

View differences:

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