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. ___

mac os x binaries

2011-02-25 Thread Natxo Asenjo
Hi, are there any binaries for mac os x for cfengine 3.x.x? The darwin ports version is still at 2.2.1 http://cfengine.darwinports.com/ -- Groeten, natxo ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/hel

Cfengine Help: Compile 3.1.4 on Solaris 6

2011-02-25 Thread no-reply
Forum: Cfengine Help Subject: Compile 3.1.4 on Solaris 6 Author: LasseKongo Link to topic: https://cfengine.com/forum/read.php?3,20839,20839#msg-20839 Hello I am trying to compile Cfengine 3.1.4 on Solaris 6, but it fails. I have compiled it successfully on SLES 11 and Solaris 8. I also have a w

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

2011-02-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,18633,20840#msg-20840 Anyhow, I tried to reproduce the error from this thread. It turned out to be working fine for me in 3.1.4 Here is my test

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: Edit region of file - remove existing content

2011-02-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: toddnni Link to topic: https://cfengine.com/forum/read.php?3,18633,20842#msg-20842 phnakarin I tried the code you posted. It didn't work for me. Here is a modified version of your code which produces an unexp

cfengine-3; controlling Redhat/CentOS "chkconfig"

2011-02-25 Thread David Lee
Executive summary: how best can cfengine-3 be used to control various "chkconfig XXX {on|off}" things in Redhat/CentOS? Detail: Until a couple of years ago, in my previous job, I used cfengine-2 extensively to manage many UNIX machines of several varieties and versions of operating systems.

Re: cfengine-3; controlling Redhat/CentOS "chkconfig"

2011-02-25 Thread Frans Lawaetz
David, The community library has functions for handling switching services on and off. Here's an example. vars: "enabled_services" slist => { "sendmail", "snmpd", "sshd", "syslog", "sysstat", "xinetd", "ypbind" }; methods: "any" usebundle => enable_xinetd("$(

Re: cfengine-3; controlling Redhat/CentOS "chkconfig"

2011-02-25 Thread Natxo Asenjo
On Fri, Feb 25, 2011 at 7:00 PM, David Lee wrote: > Executive summary: how best can cfengine-3 be used to control various > "chkconfig XXX {on|off}" things in Redhat/CentOS? in cfengine2 (I know, I know) we use the ReturnsZero function. classes: redhat:: # if this does not return 0 t

Cfengine Help: Re: cfengine-3; controlling Redhat/CentOS "chkconfig"

2011-02-25 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine-3; controlling Redhat/CentOS "chkconfig" Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20843,20845#msg-20845 vars: unxxhd01:: "services" slist => { "xfs", "smb",

Cfengine Help: Re: cfengine-3; controlling Redhat/CentOS "chkconfig"

2011-02-25 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine-3; controlling Redhat/CentOS "chkconfig" Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,20843,20847#msg-20847 Personally I use a combination of classes promises, fileexists to test for the existence of the resultant symlinks of en

Re: mac os x binaries

2011-02-25 Thread Natxo Asenjo
On Fri, Feb 25, 2011 at 11:00 AM, Natxo Asenjo wrote: > Hi, > > are there any binaries for mac os x for cfengine 3.x.x? The darwin > ports version is still at 2.2.1 http://cfengine.darwinports.com/ ok, no binaries, but this is good enough: http://trac.macports.org/browser/trunk/dports/sysutils/c