summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/syslog.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_config/manifests/syslog.pp')
-rw-r--r--puppet/modules/site_config/manifests/syslog.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/puppet/modules/site_config/manifests/syslog.pp b/puppet/modules/site_config/manifests/syslog.pp
index e94ff62f..c397dc15 100644
--- a/puppet/modules/site_config/manifests/syslog.pp
+++ b/puppet/modules/site_config/manifests/syslog.pp
@@ -1,7 +1,13 @@
# configure rsyslog on all nodes
class site_config::syslog {
- include site_apt::preferences::rsyslog
+ # only pin rsyslog packages to backports on wheezy
+ case $::operatingsystemrelease {
+ /^7.*/: {
+ include site_apt::preferences::rsyslog
+ }
+ default: { }
+ }
class { 'rsyslog::client':
log_remote => false,