Hello,

i am using puppet 0.25.4 at debian lenny and i have got a question about
the cron type. If i use something like that, the cron will be stored at
"/etc/cron.daily/get-selections".

        cron { "get-slections":
                command => "/usr/bin/dpkg --get-selections >
/var/backups/get-selections.log",
                user    => root,
                minute  => 0,
        }

But if i use an explicit hour, the cron will be stored at
"/var/spool/cron/crontabs/root" instead of "/etc/cron.d/get-selections".

        cron { "get-slections":
                command => "/usr/bin/dpkg --get-selections >
/var/backups/get-selections.log",
                user    => root,
                hour    => 8,
                minute  => 0,
        }

Of course i could use the file type to ship my cron jobs, but that makes
no sense to me. Any hints?

Regards, Dennis

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to