diff --git a/manifests/client.pp b/manifests/client.pp index d61f24b..a7e4e11 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -120,7 +120,7 @@ class rsyslog::client ( } if $ssl_permitted_peer and $ssl_auth_mode != 'x509/name' { - fail("You need to set auth_mode to 'x509/name' in order to use ssl_permitted_peers.") + fail('You need to set auth_mode to 'x509/name' in order to use ssl_permitted_peers.') } if $imfiles { diff --git a/manifests/params.pp b/manifests/params.pp index 7286a6e..b616d29 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -28,7 +28,7 @@ class rsyslog::params { $im_journal_statefile = false case $::osfamily { - debian: { + 'Debian': { case $::operatingsystem { 'Debian': { $log_user = 'root' @@ -70,7 +70,7 @@ class rsyslog::params { $service_hasstatus = true $omit_local_logging = false } - redhat: { + 'RedHat': { if $::operatingsystem == 'Amazon' { $rsyslog_package_name = 'rsyslog' $mysql_package_name = 'rsyslog-mysql' @@ -161,7 +161,7 @@ class rsyslog::params { $service_hasrestart = true $service_hasstatus = true } - suse: { + 'Suse': { $rsyslog_package_name = 'rsyslog' $relp_package_name = false $mysql_package_name = false @@ -191,7 +191,7 @@ class rsyslog::params { ] $omit_local_logging = false } - freebsd: { + 'FreeBSD': { $rsyslog_package_name = 'sysutils/rsyslog8' $relp_package_name = false $mysql_package_name = false @@ -226,7 +226,7 @@ class rsyslog::params { } default: { case $::operatingsystem { - gentoo: { + 'Gentoo': { $rsyslog_package_name = 'app-admin/rsyslog' $relp_package_name = false $mysql_package_name = 'rsyslog-mysql'