diff options
author | Steffen Zieger <me@saz.sh> | 2012-09-08 07:22:34 -0700 |
---|---|---|
committer | Steffen Zieger <me@saz.sh> | 2012-09-08 07:22:34 -0700 |
commit | 58bd42e54a23fe92a440beef0cd869c8ece2fb1a (patch) | |
tree | 25135f6eebcdfc964d0806b8400811da0cff5559 /manifests | |
parent | 3721e846ceb56199587fde51ed689cc9ecd2ae82 (diff) | |
parent | e8798d0454319c8b606aaf25adc2f5451f5637ae (diff) |
Merge pull request #8 from frosty-geek/Add_Red_Hat_Support
added Red Hat, CentOS, Fedora support
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/params.pp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/manifests/params.pp b/manifests/params.pp index 37c40ce..e2024c2 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -11,11 +11,33 @@ class rsyslog::params { $run_group = 'root' $log_user = 'root' $log_group = 'adm' + $log_style = 'debian' + $perm_file = '0640' + $perm_dir = '0755' $spool_dir = '/var/spool/rsyslog/' $service_name = 'rsyslog' $client_conf = "${rsyslog_d}client.conf" $server_conf = "${rsyslog_d}server.conf" } + redhat, centos, fedora: { + $rsyslog_package_name = 'rsyslog' + $relp_package_name = 'rsyslog-relp' + $package_status = 'latest' + $rsyslog_d = '/etc/rsyslog.d/' + $rsyslog_conf = '/etc/rsyslog.conf' + $rsyslog_default = '/etc/sysconfig/rsyslog' + $run_user = 'root' + $run_group = 'root' + $log_user = 'root' + $log_group = 'root' + $log_style = 'redhat' + $perm_file = '0600' + $perm_dir = '0750' + $spool_dir = '/var/lib/rsyslog/' + $service_name = 'rsyslog' + $client_conf = "${rsyslog_d}client.conf" + $server_conf = "${rsyslog_d}server.conf" + } freebsd: { $rsyslog_package_name = 'rsyslog5' $relp_package_name = 'rsyslog5-relp' @@ -27,6 +49,9 @@ class rsyslog::params { $run_group = 'wheel' $log_user = 'root' $log_group = 'wheel' + $log_style = 'debian' + $perm_file = '0640' + $perm_dir = '0755' $spool_dir = '/var/spool/syslog/' $service_name = 'syslogd' $client_conf = "${rsyslog_d}client.conf" |