summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-10-16 11:16:18 -0400
committerMicah Anderson <micah@leap.se>2013-10-16 12:56:14 -0400
commitde8fe441e1c07b63f1c02aa231a8a56c9a9448ec (patch)
tree85c1efffeb62f0c37dd64bd62bd70110fa34911d /puppet
parent57a1a16f6d6df7dfebf0d40c38af7fbc3af21a34 (diff)
rsyslog: setup default local config that gets us the same config as default from debian
Change-Id: If07ee200e2ae0d9cfaf8e405d6354c80d77330ca
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_config/manifests/default.pp3
-rw-r--r--puppet/modules/site_config/manifests/syslog.pp6
2 files changed, 9 insertions, 0 deletions
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 }
+
+}
+