Cfengine Help: Re: how do you restart a process only after .conf update?

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: Re: how do you restart a process only after .conf update? Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,19969,19972#msg-19972 Hi, I do it like this in Solaris 10: body copy_from scp_no_backup(from,server) { source => "$(from)"

Cfengine Help: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates?

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: How to configure a client machine to contact the policy server and downloads updates? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19909,19973#msg-19973 I have a policy host that is set to trust clients. I have the clie

Re: Help-cfengine Digest, Vol 58, Issue 67

2010-12-29 Thread chandrakant gaurav
hello, i want to configure pxe boot with cfengine3 .please tell me how to configure cf-agent and promises and any other configurations i have to make. thanks in advance On Wed, Dec 29, 2010 at 4:30 PM, wrote: > Send Help-cfengine mailing list submissions to >help-cfengine@cfengine.org >

Cfengine Help: Re: how do you restart a process only after .conf update?

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: Re: how do you restart a process only after .conf update? Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,19969,19975#msg-19975 I normally do this using if_repaired from cfengine_stdlib.cf, like this: files: any.!ntp_servers:: "$(ntp_conf_

Cfengine Help: Iptables and Cfengine

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: Iptables and Cfengine Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19976,19976#msg-19976 I've been looking at Mark's release of the Cloud Pack(1). In it there is a policy for maintaining Iptables(2). This is trickier than one might think

generating a list of all your current servers using Cfengine

2010-12-29 Thread Aleksey Tsalolikhin
Here's a post on how to generate a list of all your current servers using Cfengine, in order to run a one-time command on them (for example to gather data): http://silverwraith.com/blog/?p=72 How would we do this in Cfengine? It depends on where we have a list of all the servers; or even if we d

Cfengine Help: Re: generating a list of all your current servers using Cfengine

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: Re: generating a list of all your current servers using Cfengine Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19977,19978#msg-19978 What about using the lastseen report? ___ Help-cfengine mailing

Re: Cfengine Help: Re: generating a list of all your current servers using Cfengine

2010-12-29 Thread Nicolas Charles
On 29/12/2010 20:32, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: generating a list of all your current servers using Cfengine > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,19977,19978#msg-19978 > > What about using the lastseen report? > > And o

Re: Cfengine Help: Re: generating a list of all your current servers using Cfengine

2010-12-29 Thread Nick Anderson
On Wed, Dec 29, 2010 at 08:42:46PM +0100, Nicolas Charles wrote: > And of course, if you have several policy servers, generate the lastseen > report on each of them > Then you can run the command using cf-runagent Run the command? Won't cf-runagent just force a cf-agent run? I haven't been succes

Random Selection from an Array/List

2010-12-29 Thread Tom Tucker
Is it possible to randomly select one policy server from a list, array or whatever to interact with during a particular execution/run? Using the below configuration, my clients equally interact with BOTH policy servers (192.168.22.103 and 22.233). Since the policy servers are identifical their is

Cfengine Help: Re: how do you restart a process only after .conf update?

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: Re: how do you restart a process only after .conf update? Author: Sal Link to topic: https://cfengine.com/forum/read.php?3,19969,19982#msg-19982 Thanks guys. It seems to be working correctly now. I had used body classes satisfied(new_class) { promise_kept => { "$(ne

Cfengine Help: Re: Random Selection from an Array/List

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Random Selection from an Array/List Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19981,19983#msg-19983 The policy host is a list so your clients will connect to one or go to the next list item if that connection fails. Perhaps you don

Cfengine Help: Re: cf-serverd error on restart

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-serverd error on restart Author: Sal Link to topic: https://cfengine.com/forum/read.php?3,19900,19984#msg-19984 I had used the pre-built rpm package from the cfengine web site and it was working correctly on other servers so I was pretty sure it was not the rp

Cfengine Help: Re: best practices for manipulating strings

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: Re: best practices for manipulating strings Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,19954,19985#msg-19985 You could split the IP address into its four bytes using splitstring(), but I can't think of an easy way to reassemble it in revers

Cfengine Help: New features of Cfengine 3.1.2

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: New features of Cfengine 3.1.2 Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,19986,19986#msg-19986 Dear community, As a developer I occasionally get aware of cool and useful features in new releases of Cfengine Community Edition that I feel ar

Re: Cfengine Help: New features of Cfengine 3.1.2

2010-12-29 Thread Nicolas Charles
On 29/12/2010 23:17, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: New features of Cfengine 3.1.2 > Author: eystein > Link to topic: https://cfengine.com/forum/read.php?3,19986,19986#msg-19986 > > Dear community, > > As a developer I occasionally get aware of cool and useful featur

Cfengine Help: Re: New features of Cfengine 3.1.2

2010-12-29 Thread no-reply
Forum: Cfengine Help Subject: Re: New features of Cfengine 3.1.2 Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,19986,19988#msg-19988 Eystein, this is a great idea. These articles should preferably be hosted at cfengine.org. ___

Re: Cfengine Help: New features of Cfengine 3.1.2

2010-12-29 Thread Nick Anderson
On Wed, Dec 29, 2010 at 11:17:04PM +0100, no-re...@cfengine.com wrote: > Also, on a new release of Cfengine you are probably wondering if you should > put effort into upgrading. > Therefore, I decided to write a small article on the new and cool features of > Cfengine 3.1.2 and how to take advant