summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/syslog.pp
blob: 26c65f02f452aa673599bd1ea17c762e541ec937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class site_config::syslog {

  include site_apt::preferences::rsyslog

  class { 'rsyslog::client':
    log_remote => false,
    log_local  => true
  }

  rsyslog::snippet { '00-anonymize_logs':
    content => '$ModLoad mmanon
action(type="mmanon" ipv4.bits="32" mode="rewrite")'
  }
}