Re: Cfengine Help: Re: Cfengine Help: Re: Cfengine Help: ex_list and purge conflict?

2011-03-04 Thread Bas van der Vlies
On 03-03-11 15:09, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Cfengine Help: Re: Cfengine Help: ex_list and purge conflict? > Author: hartikka > Link to topic: https://cfengine.com/forum/read.php?3,20882,20897#msg-20897 > > All, > > Thank you again Bas. > > Do I have to cre

Cfengine Help: Re: Question about a goup of host

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: Question about a goup of host Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20898,20948#msg-20948 Hi, I use iprange to group servers classes: "test_server_group" expression => iprange("^XXX\.XXX\..*$"); "ver_server_group"

Cfengine Help: Bundling the configuration into modules

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Bundling the configuration into modules Author: kenneho Link to topic: https://cfengine.com/forum/read.php?3,20949,20949#msg-20949 Hi all, I've played around with Puppet earlier, and in Puppet one can bundle the configuration into modules, which is as great way to

Cfengine Help: Re: Bundling the configuration into modules

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: Bundling the configuration into modules Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20949,20950#msg-20950 See for instance http://www.cfengine.org/manuals/cf3-tutorial.html#Bundles ___ Help-cfengin

Re: verify service running

2011-03-04 Thread Jonathan Clarke
Hi Aleksey, On 11/11/10 00:34, Aleksey Tsalolikhin wrote: > check that CUPS (printer service) is running by checking the "ps" output, and > if regex match for "cups" fails, restarting cups: > > --- start cfengine config > body common control > > { > bundlesequence => { "check_cups_running"

Cfengine Help: Re: ex_list and purge conflict?

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: ex_list and purge conflict? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20878,20952#msg-20952 I just had a calculus flashback. I don't understand your last post. I suggest that you re-evaluate your end goal. Tell us what you would

Cfengine Help: Re: Do you trust nodes?

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: Do you trust nodes? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20889,20953#msg-20953 In my experience the bulk of promises have little in terms of secure information and thus I give all inputs out to all clients. I would make excep

Cfengine Help: Re: Edit region of file - remove existing content

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18633,20954#msg-20954 Mark, be aware that editing the crontabs directly works with Vixie cron, found on most Linux installs. Commercial UNIX's

Cfengine Help: Re: proper logging for cfengine processes

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: proper logging for cfengine processes Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20915,20955#msg-20955 Nova has the best logging built in. For community you have to do more work. I use report promises extensively. When the agent i

Cfengine Help: Re: verify service running

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: verify service running Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19200,20956#msg-20956 There is an overlap in configuration management and monitoring but there is also a difference. Monitoring reports trouble. Configuration manage

Cfengine Help: Re: Question about a goup of host

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: Question about a goup of host Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20898,20957#msg-20957 Disregard my last post, my syntax don't work. Sorry about that. ___ Help-cfengine mailing li

Cfengine Help: Re: Edit region of file - remove existing content

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18633,20958#msg-20958 Good point, so we should add sighup to the bundle. ___ Help-cfengine mailing list Hel

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 =>

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

Cfengine Help: Re: ex_list and purge conflict?

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: ex_list and purge conflict? Author: hartikka Link to topic: https://cfengine.com/forum/read.php?3,20878,20961#msg-20961 Hi Niel, Thanks for your time. I think I have what I want... Here is the end goal: 1) I want cfengine controlling a directory 'zzz'. I think

Cfengine Help: Re: ex_list and purge conflict?

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: ex_list and purge conflict? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20878,20962#msg-20962 Are you able to limit your free files to sub directories? If so you can use exclude_dirs in your depth_search body. http://www.cfengine.org

Cfengine Help: Re: ex_list and purge conflict?

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: ex_list and purge conflict? Author: hartikka Link to topic: https://cfengine.com/forum/read.php?3,20878,20963#msg-20963 To say that last question another way: How do I confine the effect of ex_list() to the folder where I want to make the exception? That is wha

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 made a cronjob > method in

Re: verify service running

2011-03-04 Thread Aleksey Tsalolikhin
On Fri, Mar 4, 2011 at 4:22 AM, Jonathan Clarke wrote: > > I have [...] become maniacal about always > using the full path name of an executable in processes promises, eg: > > processes: >        "/usr/sbin/cupsd" >                etc > > This avoids the "mycupsarefull" problem, and the > more-com

Re: verify service running

2011-03-04 Thread Jesse Becker
On Wed, Nov 10, 2010 at 06:53:56PM -0500, Sandra Wittenbrock wrote: >Hi, > >What would be the command to make sure a service (sysctl, firewall, etc) >is running, and/or restart it when cfengine updates the config files? I just recently added this snippet for checking a service that may be "runnin

Cfengine Help: Re: Cfengine Help: Please help with regex format

2011-03-04 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Please help with regex format Author: raymondcox Link to topic: https://cfengine.com/forum/read.php?3,20905,20967#msg-20967 Thank you for catching my misconfiguration, I was able to get a lot more output. I am still having a problem with parsing th