For syslog-ng, we used the following and it seems to work:
case defined(Package["syslog-ng"]) {
false: {
service { "syslog": enable => false }
}
}
package { "syslog-ng": ensure => installed,
provider => yum }
I ran into this same challenge just a few days ago. I run mostly
CentOS and syslogd is installed by default, but I prefer to run
rsyslog. Here's a post,
http://itscblog.tamu.edu/managing-syslog-and-log-forwarding-with-puppet/
,I just did on my blog that has the recipes I used for syslog
manageme