Project

General

Profile

« Previous | Next » 

Revision 1ab13bfe

Added by Michael Moll almost 6 years ago

Support Ubuntu/bionic, drop Debian 7 & Fedora 25 (#605)

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) or
($::operatingsystem == 'Ubuntu') and (versioncmp($::operatingsystemrelease, '15.04') >= 0)
) {
if ($::operatingsystem == 'Debian' or $::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease, '15.04') >= 0) {
$unavailable_runmodes = []
} else {
$unavailable_runmodes = ['systemd.timer']

Also available in: Unified diff