diff --git a/manifests/init.pp b/manifests/init.pp index cbd56e8..27fad01 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -415,7 +415,7 @@ 'create 640 root root', 'sharedscripts', 'postrotate', - ' service syslog reload > /dev/null', + ' /sbin/service syslog reload > /dev/null', 'endscript', ] } diff --git a/spec/fixtures/logrotate.suse10 b/spec/fixtures/logrotate.suse10 index 692e123..7c79eef 100644 --- a/spec/fixtures/logrotate.suse10 +++ b/spec/fixtures/logrotate.suse10 @@ -31,6 +31,6 @@ create 640 root root sharedscripts postrotate - service syslog reload > /dev/null + /sbin/service syslog reload > /dev/null endscript } diff --git a/spec/fixtures/logrotate.suse11 b/spec/fixtures/logrotate.suse11 index 692e123..7c79eef 100644 --- a/spec/fixtures/logrotate.suse11 +++ b/spec/fixtures/logrotate.suse11 @@ -31,6 +31,6 @@ create 640 root root sharedscripts postrotate - service syslog reload > /dev/null + /sbin/service syslog reload > /dev/null endscript } diff --git a/spec/fixtures/logrotate.suse12 b/spec/fixtures/logrotate.suse12 index 692e123..7c79eef 100644 --- a/spec/fixtures/logrotate.suse12 +++ b/spec/fixtures/logrotate.suse12 @@ -31,6 +31,6 @@ create 640 root root sharedscripts postrotate - service syslog reload > /dev/null + /sbin/service syslog reload > /dev/null endscript }