Op vrijdag 13 juli 2012 08:50:07 UTC+2 schreef Stefan Heijmans het 
volgende: 
>
>
> the maintaining page also mentions;
>  
> If you run ‘rake reports:prune’ without any arguments, it will display 
> further usage instructions.
>
my bad, that's not the one.
 
# rake cron:cleanup
ln -sf 
/usr/share/puppet-dashboard/examples/puppet-dashboard.cleanup_reports.cron 
/etc/cron.monthly/puppet-dashboard.cleanup_reports.cron
It creates a link from the source to the /etc/cron.monthly.
One issue, if you have puppet-dashboard installed in a different location 
the source is not there.
# more /etc/cron.monthly/puppet-dashboard.cleanup_reports.cron
/etc/cron.monthly/puppet-dashboard.cleanup_reports.cron: No such file or 
directory
# ll 
/usr/share/puppet-dashboard/examples/puppet-dashboard.cleanup_reports.cron
ls: 
/usr/share/puppet-dashboard/examples/puppet-dashboard.cleanup_reports.cron: 
No such file or directory
# ll /opt/puppet-dashboard/examples/puppet-dashboard.cleanup_reports.cron
-rwxr-xr-x 1 puppet-dashboard puppet-dashboard 597 Jul 12 20:50 
/opt/puppet-dashboard/examples/puppet-dashboard.cleanup_reports.cron
#

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/NfidyMAbUNsJ.
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.

Reply via email to