Re: Cfengine Help: Edit crontabs - was cfengine/puppet choice

2011-03-04 Thread Aleksey Tsalolikhin
On Thu, Mar 3, 2011 at 12:49 AM, wrote: > Forum: Cfengine Help > Subject: Edit crontabs - was cfengine/puppet choice > Author: mark > Link to topic: https://cfengine.com/forum/read.php?3,18633,20887#msg-20887 > > Sorry for the delay in replying. I've been travelling, I m

Re: Cfengine Help: Edit crontabs - was cfengine/puppet choice

2011-03-04 Thread Mark Burgess
Then make one, dear Lisa, dear Lisa, dear Lisa, ... ;-) But bear in mind that these files are not generic. So it requires testing for and checking the relevant version of cron o the OS concerned. High maintenance... On 03/04/2011 05:44 PM, Ted Zlatanov wrote: > On Thu, 3 Mar 2011 09:49:49 +0100

Re: Cfengine Help: Edit crontabs - was cfengine/puppet choice

2011-03-04 Thread Ted Zlatanov
On Thu, 3 Mar 2011 09:49:49 +0100 (CET) mark wrote: n> Sorry for the delay in replying. I've been travelling, I made a cronjob method in the standard library, so that adding cron is simple: n> bundle agent test n> { n> methods: n> # cronjob(command,user,hours,mins) n> "cron" usebundle =>

Cfengine Help: Re: Edit crontabs - was cfengine/puppet choice

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit crontabs - was cfengine/puppet choice Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18633,20894#msg-20894 Okay, sounds reasonable. But don't forget to mention it in the Cfengine reference to avoid such questions in the f

Cfengine Help: Re: Edit crontabs - was cfengine/puppet choice

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit crontabs - was cfengine/puppet choice Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18633,20893#msg-20893 For two reasons. 1. This was inspired by the original quoted example which only used this. 2. Cron should never be used for jobs

Cfengine Help: Re: Edit crontabs - was cfengine/puppet choice

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit crontabs - was cfengine/puppet choice Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18633,20888#msg-20888 Why weekdays and monthdays are ignored? Cronjobs rely not on hours and minutes only

Cfengine Help: Edit crontabs - was cfengine/puppet choice

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Edit crontabs - was cfengine/puppet choice Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18633,20887#msg-20887 Sorry for the delay in replying. I've been travelling, I made a cronjob method in the standard library, so that adding cron is s

Re: Cfengine/puppet choice

2011-02-25 Thread Ted Zlatanov
On Thu, 24 Feb 2011 20:27:20 +0100 (CET) kholloway wrote: n> That is a very nice solution, I would use names instead of numbers to identify the job but otherwise yes great idea. n> * * * * * CFCRON=cfserverd /my/job/for/cf-serverd Sure. These days I just put things in /etc/cron.d but that's c

Cfengine Help: Re: Cfengine Help: Re: Cfengine/puppet choice

2011-02-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Cfengine/puppet choice Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20820,20837#msg-20837 You may end the line with a comment: * * * * * /path/to/command # Your comment

Cfengine Help: Re: Cfengine/puppet choice

2011-02-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine/puppet choice Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18633,20836#msg-20836 Kent, Minnesota is at least spiritually close to Norway ;-) Thanks for your data. It gives me some ideas for best practice that I'll write down w

Cfengine Help: Re: Cfengine Help: Re: Cfengine/puppet choice

2011-02-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Cfengine/puppet choice Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,20820,20830#msg-20830 That is a very nice solution, I would use names instead of numbers to identify the job but otherwise yes great idea

Re: Cfengine Help: Re: Cfengine/puppet choice

2011-02-24 Thread Ted Zlatanov
On Thu, 24 Feb 2011 16:23:58 +0100 (CET) kholloway wrote: n> In CF3 we use edit_files functions (or write your own) and either n> match the cron job exactly or use regex to match for it and then n> insert/replace. If I go look at my crontab entry I won't see any n> indication that CF3 put it the

Cfengine Help: Re: Cfengine/puppet choice

2011-02-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine/puppet choice Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,18633,20814#msg-20814 I posted some of my better/complex examples a few minutes ago as new posts. Hopefully someone finds them useful and can benefit from them. Cheers

Cfengine Help: Re: Cfengine/puppet choice

2011-02-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine/puppet choice Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,18633,20811#msg-20811 I'm in Minnesota so not close to you folks but we did meet briefly at LISA 2010 in San Jose and I attended your CF3 tutorial (you did a grea

Cfengine Help: Cfengine/puppet choice

2011-02-24 Thread no-reply
Forum: Cfengine Help Subject: Cfengine/puppet choice Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18633,20807#msg-20807 Kent, Thanks a lot for your comments about cfengine and puppet. Since we are always trying to learn how to improve cfengine, would you be willing to share