From 36238c6bb2db4ce2b93ee36a6646de7d01df61aa Mon Sep 17 00:00:00 2001 From: Sergey Vasilenko Date: Fri, 15 Feb 2013 12:29:51 +0400 Subject: [PATCH] fix OS names (stupid bug) --- deployment/puppet/rsyslog/manifests/params.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/puppet/rsyslog/manifests/params.pp b/deployment/puppet/rsyslog/manifests/params.pp index 0255f90f54..a6ad4a8273 100644 --- a/deployment/puppet/rsyslog/manifests/params.pp +++ b/deployment/puppet/rsyslog/manifests/params.pp @@ -1,6 +1,6 @@ class rsyslog::params { case $::operatingsystem { - ubuntu, debian, redhat, centos: { + /(?i)(ubuntu|debian|redhat|centos)/: { $rsyslog_package_name = 'rsyslog' $relp_package_name = 'rsyslog-relp' $package_status = 'latest' @@ -16,7 +16,7 @@ class rsyslog::params { $client_conf = "${rsyslog_d}client.conf" $server_conf = "${rsyslog_d}server.conf" } - freebsd: { + /(?i)freebsd/: { $rsyslog_package_name = 'rsyslog5' $relp_package_name = 'rsyslog5-relp' $package_status = 'present'