--- /dev/null
+# If a variable is not set here, then the corresponding
+# parameter will not be changed.
+# If a variables is set, then every invocation of
+# syslog-ng's init script will set them using dmesg.
+
+# log level of messages which should go to console
+# see <linux/kernel.h> for details
+#
+#CONSOLE_LOG_LEVEL=1
+
+# Command line options to syslog-ng
+#SYSLOGNG_OPTS="--no-caps"
+
+# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625488
+SYSLOGNG_OPTS="--fd-limit 1024"
ensure => present,
source => "puppet://$server/modules/syslog-ng/logrotate",
}
+
+ # Manage this file due to
+ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625488
+ # TODO: restore the original file after the issue is solved.
+ file { "/etc/default/syslog-ng":
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ source => "puppet://$server/modules/syslog-ng/default",
+ notify => Service["syslog-ng"],
+ }
}