faxm0dem/puppet-syslog_ng

syslog_ng/manifests/reload.pp : syslog_ng_reload

linuxdan opened this issue · 0 comments

The module tries to use "syslog-ng-ctl reload"

I am using CentOS 6, and the reload command comes from the startup script:

/sbin/services syslog-ng reload

I changed the assignment for syslog_ng_ctl_full_path to

$syslog_ng_ctl_full_path = '/sbin/service syslog-ng'

to get mine to work.

FYI: syslog-ng-3.2.5-4.el6.x86_64

 /sbin/syslog-ng-ctl --help
Syntax: /sbin/syslog-ng-ctl <command> [options]
Possible commands are:
    stats        Dump syslog-ng statistics
    verbose      Enable/query verbose messages
    debug        Enable/query debug messages
    trace        Enable/query trace messages