[TriLUG] Cron weirdness

Steven Tardy sjt5atra at gmail.com
Thu Jun 19 19:06:04 EDT 2014


On Thu, Jun 19, 2014 at 10:05 AM, Igor Partola <igor at igorpartola.com> wrote:

>  - I spin up CentOS 6.4 instances on EC2 and provision them all using the
> same puppet manifests.
>  - One of the puppet modules I wrote contains two files that get copied
> (with the same owner and permissions) to /etc/cron.d/. The filenames are in
> the form of `example` and `example-foo-bar`.
>
> The problem I have is that only the file `example-foo-bar` is seen by cron
> right away. The `example` file is not UNTIL I `touch /etc/cron.d/example`.


1) have puppet 'notify' the cron service.
   http://docs.puppetlabs.com/references/latest/type.html#notify
2) have puppet run: service crond reload
3) are either files really a symlink?


More information about the TriLUG mailing list