Hello all, Can someone help me out please with this. I can't see what the issue is or what it is I'm doing wrong:
augtool> set /files/etc/logrotate.d/syslog/rule/file[last()+1] "/var/log/puppet" augtool> ls /files/etc/logrotate.d/syslog/rule/ file[1] = /var/log/cron file[2] = /var/log/maillog file[3] = /var/log/messages file[4] = /var/log/secure file[5] = /var/log/sudolog file[6] = /var/log/spooler missingok = missingok sharedscripts = sharedscripts postrotate = (none) compress = compress *file[7] = /var/log/puppet* So far so good. The line I need seems to be present. augtool> save error: Failed to execute command saving failed (run 'errors' for details) Hang on! What's happening here? augtool> errors Error in /etc/rsyslog.conf:32.0 (parse_failed) Get did not match entire input Lens: /usr/share/augeas/lenses/dist/rsyslog.aug:61.10-.57: Error in /etc/krb5.conf:19.0 (parse_failed) Get did not match entire input Lens: /usr/share/augeas/lenses/dist/krb5.aug:156.10-158.66: Error in /etc/logrotate.d/syslog (put_failed) Failed to match This is not the complete output from the errors command. Happy to provide it all if will help. Thanks, Dan. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/499c7db6-737c-44fc-b7ca-795aa57febe3%40googlegroups.com.
