diff --git a/manifests/service.pp b/manifests/service.pp index 78cba69..48f6ccc 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -12,8 +12,8 @@ # Copyright 2013 Ingmar Steen, unless otherwise noted. # class multisync::service { - case $::operatingsystem { - archlinux: { + case $::osfamily { + 'Archlinux': { file { '/etc/systemd/system/multisync.service': ensure => present, owner => root, @@ -36,7 +36,7 @@ } } - debian: { + 'Debian': { file { '/etc/init.d/multisync': ensure => present, owner => root, @@ -59,7 +59,7 @@ } } - centos: { + 'RedHat': { file { '/etc/init.d/multisync': ensure => present, owner => root, @@ -83,7 +83,7 @@ } default: { - notify { "automatic starting of multisync service not supported on ${::operatingsystem}": } + notify { "automatic starting of multisync service not supported on ${::osfamily}": } } } }