From de8fe441e1c07b63f1c02aa231a8a56c9a9448ec Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 16 Oct 2013 11:16:18 -0400 Subject: rsyslog: setup default local config that gets us the same config as default from debian Change-Id: If07ee200e2ae0d9cfaf8e405d6354c80d77330ca --- puppet/modules/site_config/manifests/default.pp | 3 +++ puppet/modules/site_config/manifests/syslog.pp | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 puppet/modules/site_config/manifests/syslog.pp diff --git a/puppet/modules/site_config/manifests/default.pp b/puppet/modules/site_config/manifests/default.pp index c7243d5f..2380066a 100644 --- a/puppet/modules/site_config/manifests/default.pp +++ b/puppet/modules/site_config/manifests/default.pp @@ -48,6 +48,9 @@ class site_config::default { stage => setup, } + # install/configure syslog + include site_config::syslog + # install/remove base packages include site_config::packages::base diff --git a/puppet/modules/site_config/manifests/syslog.pp b/puppet/modules/site_config/manifests/syslog.pp new file mode 100644 index 00000000..c7c55c34 --- /dev/null +++ b/puppet/modules/site_config/manifests/syslog.pp @@ -0,0 +1,6 @@ +class site_config::syslog { + + class { 'rsyslog::client': log_remote => false, log_local => true } + +} + -- cgit v1.2.3