Cfengine Help: Re: New key naming algorithm

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: New key naming algorithm Author: matter Link to topic: https://cfengine.com/forum/read.php?3,19099,19185#msg-19185 Yes, I would like to know this as well. I did post that earlier. I do some back-end processes what does include parsing the lastseen database and ch

Cfengine Help: Re: question on bundle sequence vs. ifelapsed (1) and multiple promises on one file??? (2)

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: question on bundle sequence vs. ifelapsed (1) and multiple promises on one file??? (2) Author: bglomm Link to topic: https://cfengine.com/forum/read.php?3,19154,19184#msg-19184 Thnx Seva, my if_elapsed in bundle update is meanwhile replaced by "action => immedia

Cfengine Help: Re: question on bundle sequence vs. ifelapsed

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: question on bundle sequence vs. ifelapsed Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19154,19186#msg-19186 Rather than multiple edit promises on the same file, which I view and non-convergent, you might consider a template file inste

Cfengine Help: Re: question on bundle sequence vs. ifelapsed

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: question on bundle sequence vs. ifelapsed Author: bglomm Link to topic: https://cfengine.com/forum/read.php?3,19154,19187#msg-19187 really? :-( ain't got it? 1.) so you suggest copying a template file to the client 2.) edit the values (there will still be differen

Cfengine Help: package policy => "verify" under freebsd

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: package_policy => "verify" under freebsd Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,19188,19188#msg-19188 Hi! I want check for some packages, installed it or no: PACKAGES_verify.cf=== body common control { bundlesequence => { "packages_v

Cfengine Help: Re: question on bundle sequence vs. ifelapsed

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: question on bundle sequence vs. ifelapsed Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19154,19189#msg-19189 It is very difficult to understand the intention of the policy if there are so many promises attached to a single file. This

Cfengine Help: Re: package policy => "verify" under freebsd

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: package_policy => "verify" under freebsd Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,19188,19190#msg-19190 pkg_info with -E: -E Show only matching package names. This option takes precedence over all other package for

Cfengine Help: Re: package policy => "verify" under freebsd

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: package_policy => "verify" under freebsd Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,19188,19191#msg-19191 Maybe https://cfengine.com/bugtracker/view.php?id=256 ___ Help-cfengine mailing list Help-

Cfengine Help: Re: static build

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: static build Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19181,19192#msg-19192 I've not been able to get a good static build in Solaris. I suspect that some of Solaris' libraries do not allow static linking. The best I could get was

Cfengine Help: Re: question on bundle sequence vs. ifelapsed

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: question on bundle sequence vs. ifelapsed Author: bglomm Link to topic: https://cfengine.com/forum/read.php?3,19154,19193#msg-19193 Thnx Neil! hm, and there are no technical reasons like "more than 10 promises on the same file and it stumbles!" ? In our setup h

Cfengine Help: Re: question on bundle sequence vs. ifelapsed

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: question on bundle sequence vs. ifelapsed Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19154,19194#msg-19194 I don't think there is a technical reason. Technically each promise is separate. One promises to add line X and another prom

Cfengine Help: Forum: how to hide Email Address for my profile?

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Forum: how to hide Email Address for my profile? Author: demostat Link to topic: https://cfengine.com/forum/read.php?3,19195,19195#msg-19195 How to make Email Address invisible/hiden in this forum? Thanks! ___ Help-cfengin

Cfengine Help: Re: Forum: how to hide Email Address for my profile?

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: Forum: how to hide Email Address for my profile? Author: demostat Link to topic: https://cfengine.com/forum/read.php?3,19195,19196#msg-19196 Please ignore this topic ___ Help-cfengine mailing list Help-cfengine@cfengine

Cfengine Help: Re: question on bundle sequence vs. ifelapsed

2010-11-10 Thread no-reply
Forum: Cfengine Help Subject: Re: question on bundle sequence vs. ifelapsed Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,19154,19197#msg-19197 There's security reason at most and technical reason at least. Doing a file from a template with expanded variables, you p

Re: readstringlist in 3.1.0

2010-11-10 Thread Michael Potter
Wow - I just did a sanity check to see if cfengine 3.1.0 can even iterate over a simple list with only 1 item (i.e. nothing to do with readstringlist.). Something like: bundle agent atest { vars: "sl" slist => { "oneitem" }; reports: agent:: ">>$(sl)"; } And it didnt work. Nothing was

Problem with $(sys.workdir) expansion

2010-11-10 Thread JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN
Anyone ever see this problem? cf3 Will not create directories for a relative filename ($(sys.workdir)/lib.stage.v3/.). Has no invariant meaning cf3 Can't make directories for $(sys.workdir)/lib.stage.v3/. in files.copyfrom promise files: any:: "$(sys.workdir)/lib.stage.v3" c

verify service running

2010-11-10 Thread Sandra Wittenbrock
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? Thank you, Sandra ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman

Re: "was not able to copy file" - critical corruption during cf-agentrun

2010-11-10 Thread Mark Burgess
Can you prove that Cfengine corrupted the file? And can you show us the result of the corruption? Without this, the speculations about bugs in Cfengine are merely speculations. M On 11/09/2010 09:24 PM, Frans Lawaetz wrote: > So you are quite right that there is more to the story. I dug around

Re: readstringlist in 3.1.0

2010-11-10 Thread Mark Burgess
I suspect you are not using the final release, from the official release date, but an earlier tagged version which was altered. On 11/10/2010 09:51 PM, Michael Potter wrote: > Wow - I just did a sanity check to see if cfengine 3.1.0 can even > iterate over a simple list with only 1 item (i.e. not

Re: verify service running

2010-11-10 Thread Aleksey Tsalolikhin
On Wed, Nov 10, 2010 at 3:53 PM, 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? Here is what I use on a Linux server - if somebody has a better way, I would love t

Re: readstringlist in 3.1.0

2010-11-10 Thread Michael Potter
On Thu, Nov 11, 2010 at 11:22 AM, Mark Burgess wrote: > > I suspect you are not using the final release, from the official release > date, but an earlier tagged version which was altered. I wish that was the case - but I am in fact using the 3.1.0 source bundle downloaded from the website. I have

Re: readstringlist in 3.1.0

2010-11-10 Thread Mark Burgess
Yes, I can confirm that this is the case. Sorry. Damnit, we have tested this up and down and the final patch introduced to placate a particular issue has re-broken this. :( M On 11/11/2010 01:40 AM, Michael Potter wrote: > On Thu, Nov 11, 2010 at 11:22 AM, Mark Burgess wrote: >> >> I suspect yo

too many open databases error in v3?

2010-11-10 Thread JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN
Hi folks, I used to run v2.2.3, recently upgraded to v3.0.4, and received this error on cf-serverd hosts: cf-serverd[3602]: [ID 823470 daemon.error] !! Too many open databases cf-serverd[3602]: [ID 823470 daemon.error] Fatal cfengine error: OpenDB: Could not save DB handle Checked source co

Re: verify service running

2010-11-10 Thread Seva Gluschenko
Alexey, take it easier Usually if you're restarting a service upon its configuration file(s) change, you put those files under Cfengine management as well, so that Sandra's question about files is being solved pretty easy like files: "/etc/ssh/sshd_config" copy_from => my_scp("$(