From 7d87752f3178732811b53deb4d8c167184e27a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gonz=C3=A1lez=20Serrano?= Date: Fri, 14 Dec 2012 21:17:48 +0100 Subject: Why $rsyslog::params::rsyslog_d gets purged? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Debian (squeeze) when installing other packages (like postfix) some of them add files to /etc/rsyslog.d/ In particular I can't see how to add postfix include to the mix of this module without coupling it with others or coding a specific hack on template. Postfix include (/etc/rsyslog.d/postfix.conf) looks like: ~~~ # Create an additional socket in postfix's chroot in order not to break # mail logging when rsyslog is restarted.  If the directory is missing, # rsyslog will silently skip creating the socket. $AddUnixListenSocket /var/spool/postfix/dev/log ~~~ --- manifests/config.pp | 1 - 1 file changed, 1 deletion(-) diff --git a/manifests/config.pp b/manifests/config.pp index 58f454f..e51ad10 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -15,7 +15,6 @@ class rsyslog::config inherits rsyslog::params { ensure => directory, owner => 'root', group => $rsyslog::params::run_group, - purge => true, recurse => true, force => true, require => Class['rsyslog::install'], -- cgit v1.2.3