problem with phost variable

2010-03-31 Thread Patrick de Ruiter
Gent's,   I'm trying to create a promise for ntp clients, as far as I can see (with my rather limited cfengine3 skills) the sytax is ok. But it keeps complaining about that it cant resolve the phost variable when it executes the ntp promisses. The phost variable is set in promisses.cf also d

Cfengine Help: Re: problem with phost variable

2010-03-31 Thread forum
Forum: Cfengine Help Subject: Re: problem with phost variable Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,16727,16728#msg-16728 This seems like a variable scope problem. Is phost defined in the same bundle as it's used? Otherwise, you must use $(definingbundle.phost), not

Help with usebundle required

2010-03-31 Thread Lebel, Marco
Hello all, I am using the community edition version 3.0.4p2 and I have the following: bundle agent do_user_accounts { vars: "corp_data" string => "/corp/data"; "ref_files" slist => { "$(corp_data)/ref_passwd.dat", "$(corp_data)/ref_passwd_excp1.dat" }; methods: "users_from" usebundl

Re: Help with usebundle required

2010-03-31 Thread Nicolas Charles
Hi Marco, I think this is a bug, solved in the svn (https://cfengine.com/bugtracker/view.php?id=82) You should check with the trunk Regarsd, Nicolas Lebel, Marco wrote: > > Hello all, > > I am using the community edition version 3.0.4p2 and I have the following: > > bundle agent do_user_accoun

RE: Help with usebundle required

2010-03-31 Thread Lebel, Marco
Hello, Thanks for the info I just tried rev 937 and helas it did not fix my bug I have the same issue Any insight? Marco -Original Message- From: Nicolas Charles [mailto:charl...@gmail.com] Sent: Wednesday, March 31, 2010 11:15 AM To: Lebel, Marco Cc: help-cfengine@cfengine.org Su

RE: Help with usebundle required

2010-03-31 Thread Lebel, Marco
Hey, I guess I should add the fact that the ref_file arguments does go through the list but the readstringarray("r_user", Does not reinitialize the array. Marco -Original Message- From: help-cfengine-boun...@cfengine.org [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Lebe

Solaris 10 Cfengine SMF service

2010-03-31 Thread Justin Lloyd
Since my pilot program is wrapping up and I'll start deploying to our entire environment soon, I've finally gotten around to needing a Solaris 10 service since it doesn't ship with one, yet. I've adapted the files Ryan provided long ago to Cfengine 3 and they seem to be working. It's worth noting

Cfengine Help: Re: How do you start cfengine?

2010-03-31 Thread forum
Forum: Cfengine Help Subject: Re: How do you start cfengine? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,13688,16734#msg-16734 In order to keep things as standard as possible I have one cronjob that runs cf-exed -F at an interval. A cf bundle ensures that this cronjo

RE: Cfengine Help: Re: How do you start cfengine?

2010-03-31 Thread Justin Lloyd
I was approaching the problem from the opposite perspective, trying to keep everything within the Cfengine policy and not depend upon an external cron job. Ideally, I'd like to be able to eliminate the need for any non-standard cron jobs and have Cfengine handle everything. In the albeit unlikely e

Re: Cfengine Help: Re: How do you start cfengine?

2010-03-31 Thread michoski
On 3/31/10 1:15 PM, "Justin Lloyd" wrote: > I was approaching the problem from the opposite perspective, trying to > keep everything within the Cfengine policy and not depend upon an > external cron job. Ideally, I'd like to be able to eliminate the need > for any non-standard cron jobs and have C

Re: Solaris 10 Cfengine SMF service

2010-03-31 Thread megamic
I have been running cfengine3 (cf-execd and cf-serverd) under SMF for some time now. My manifests are below. One issue I have run into, is that SMF will put a service in maintenance when either the service process dies, or one of it's child processes die. As cf-agent run's as a child proces

Re: Cfengine Help: Re: How do you start cfengine?

2010-03-31 Thread Christopher Browne
michoski writes: > We go a step further and have each host run what equates to a nightly > "ping" into our inventory database... We can run reports showing > "stale" servers that haven't ran cfengine as expected. This also > helps us ensure the recorded OS version, package manifest, etc. are up

Question about keys and trust

2010-03-31 Thread Lebel, Marco
Hello all, I have been struggling with this one for the longest time back to version 2. Here is the context: I have applications that have IP addresses and DNS names associated with them. These applications can run on any number of physical hosts but on only one at the time. Whenever I t

Re: loadays

2010-03-31 Thread Mark Burgess
Great Nicolas, I expect you to win this battle! ;-) Nicolas Charles wrote: > Hello everyone, > > I'll be doing a presentation on cfengine at the Linux Open > Administration Days, in Antwerp : http://www.loadays.org/schedule > > Saturday will be an interesting day for anyone into configuration >