Schedule daily appears to be something that's already defined in
puppet, so I would use a different title.
Do you get a log of the event in your state.yaml? For example:
schedule {
once:
period => daily,
}
exec {
"/bin/date > /tmp/time":
schedule => once,
}
/var/lib/puppet/state/state.yaml:
"Exec[/usr/bin/date > /tmp/time]":
!ruby/sym checked: 2011-01-21 20:23:33.869328 -05:00
!ruby/sym synced: 2011-01-21 20:23:33.870815 -05:00
So in your case, you should have something along the line of:
"Tidy[/var/lib/puppet/reports]":
!ruby/sym checked: 2011-01-21 20:33:17.927550 -05:00
Thanks,
Nan
Can you try it with a different type, say a sample 'notify' statement?
Tidy appears to have some magic going on at times. I just noticed that
it *appears* to be run before anything else, even in the pre-stage but
that could be a fluke in my setup.
Trevor
> ------------------------------------------------------------------------
> *From:* Nan Liu <n...@puppetlabs.com>
> *To:* puppet...@googlegroups.com
> *Sent:* Fri, 21 January, 2011 18:08:24
> *Subject:* Re: [Puppet Users] scheduler problem?
> <mailto:puppet...@googlegroups.com>.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com
> <mailto:unsub...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
- --
Trevor Vaughan
Vice President, Onyx Point, Inc.
email: tvau...@onyxpoint.com
phone: 410-541-ONYX (6699)
pgp: 0x6C701E94
- -- This account not approved for unencrypted sensitive information --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAEBAgAGBQJNPWpUAAoJECNCGV1OLcypAbwH/3JYreanClJ5kODM9//SYOeJ
oUP0OQXYrmCENWSBRYp7zMNNM3Fl/e+ws5QZMq5dYm1pjFd7ARndv5l5/eGgY9Ma
jSy5EdrqYHetqQgjmSZv39dqdsf+W0QDcVu1cNWZRM7RiHSacj2UMT1y0kfL4juQ
1esvreXILX1cgvBEbgc8xoLv088hoinshxbBAjl4dbgGs9j0Rpj+q6g95mW9vqiL
ZkDFRO9B+rC5eu+MMOm9iwou44o19+r6XBwU8v1HGqFTZHxiCY1P8R8QgGoIDaCG
+qVCWljAY+5VsXv+DGpVYjPETN2EkzWB7qxzQltCrNoF8Y6poJvqB8F2X6kpeWY=
=x0NX
-----END PGP SIGNATURE-----
I would say a bug. Check the bug tracker:
http://projects.puppetlabs.com/projects/puppet/issues for any open or
closed bugs regarding that problem and if you don't find one: Please
file a bug report.
~pete