I definitely need some assistance in conceptualizing something. If I want to configure syslog-ng instead of rsyslog, or configure rsyslog instead of sysklogd, the previous syslog daemon has to be stopped (and disabled) before the new one starts. De-configuring the previous one works just fine when the service (init script) exists on the system:
$disable = ['rsyslog', 'syslog'] service { $disable: enable => false, ensure => stopped, } But when the init script doesn't exist, I get something like this: Jan 17 15:05:44 dpuppet-01 puppet-agent[4011]: (/Stage[main]/Sysklogd::Disable/Service[syslog]/ensure) change from running to stopped failed: Could not find init script for 'syslog' How would I say "if it's there, disable it, if not, ignore it" in puppet DSL? (For completeness, this is with puppet 2.6.2 on various platforms.) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.