Hi Guys,

I am trying to use this logrotate puppet module from the forge
(https://forge.puppet.com/puppet/logrotate) and seems like it updates
my logrotate.conf file without any issues.  However, I am now trying
to add a new logrotate.d rule using hiera and it does not do anything
and I was wondering if there is something I am missing.  Here is what
it looking like in my yaml file:

--
classes:
  - logrotate

# logrotate
logrotate::rule:
  'messages':
    path: '/var/log/messages'
    rotate: 5
    rotate_every: 'week'
    create: true
    create_mode: '0644'
    missingok: true
    sharedscripts: true
    postrotate: '/bin/kill -HUP `cat /var/run/syslogd.pid 2>
/dev/null` 2> /dev/null || true'
--

However puppet agent -t --noop and debug don't see it making any
changes to logrotate.d.  Does anyone else on this list have experience
with this specific module?  Just wondering what I am missing here.

Thanks in advance for any help with this.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAKyjK50b5wDAuzOzBY8txDwo24JNaLrLSc-LS%2BiJJjkRC1HFPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to