Re: Cfengine 3.1.5b3 is released

2011-04-26 Thread Mark
Thanks Nicolas Mark On 27 Apr 2011, at 07:18, Nicolas Charles wrote: > On 21/04/2011 10:57, Mikhail Gusarov wrote: >> Hello, >> >> Beta 3 of 3.1.5 release is available on >> http://www.cfengine.org/pages/source_code >> >> Changes since beta 2: >> >> * Bunch of build fixes on various plat

Re: Cfengine 3.1.5b3 is released

2011-04-26 Thread Nicolas Charles
On 21/04/2011 10:57, Mikhail Gusarov wrote: > Hello, > > Beta 3 of 3.1.5 release is available on >http://www.cfengine.org/pages/source_code > > Changes since beta 2: > > * Bunch of build fixes on various platforms. > * Fixed matching of packages names in packages promise. > * Disabled erroneous

Re: Weird permissions with Cfengine.

2011-04-26 Thread Mark
Not a bug, a feature that directories by default have x set if r is set. To turn it off see the manual. Rxdirs or something like that. Mark On 27 Apr 2011, at 00:25, Bennett Roller wrote: > Seems to be a bug with setting permissions , this was submitted by an > engineer that works with me.

Re: Cfengine Help: Re: Avoiding "Duplicate selection of value"

2011-04-26 Thread Mark
No nothing is hardcoded, but the default exec time is 5 minutes. You are not missing out. Mark On 27 Apr 2011, at 01:09, Michael Stevens wrote: > I wasn't aware of this. Correct me if I'm wrong, but from reading the docs, > the "on" interval is hard-coded to 5 minutes, eg, since we're runni

Cfengine Help: Re: lock-log file

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: lock-log file Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21585,21626#msg-21626 Cfengine uses locks to avoid conflicts in the event multiple cf-agents are running at once (among other things). See the blurb on Locks in the ref guide:

Cfengine Help: Re: Package installation - trouble specifying environment variable

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Package installation - trouble specifying environment variable Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21587,21625#msg-21625 Yeah, personally I definitely wouldn't do this. Keep the package_method commands nice and simple. Have

Cfengine Help: Re: Cfengine time handling

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine time handling Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21606,21624#msg-21624 Thanks sauer! ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/

Cfengine Help: Re: cfengine3 how to organize

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine3 how to organize Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21622,21623#msg-21623 Hey Danny, I've seen many people recommend (and I have followed) by simply having cf-agent read in all cf files on every host. Unless you ha

cfengine3 how to organize

2011-04-26 Thread Danny Sung
(oops, sent from the wrong email address... sorry if this duplicates) Hello all, I've been a long time cfengine2 user and I'm trying to get my head wrapped around cfengine3. But I'm having difficulties trying to get the organization I want, so I'm hoping someone here can point me in the right

Re: Cfengine Help: Re: Avoiding "Duplicate selection of value"

2011-04-26 Thread Michael Stevens
I wasn't aware of this. Correct me if I'm wrong, but from reading the docs, the "on" interval is hard-coded to 5 minutes, eg, since we're running cf3 every 15 minutes from cron, we'd miss 2/3 of the activations unless we up our schedule to every 5 minutes. On Apr 26, 2011, at 11:19 AM, no-re..

FW: Weird permissions with Cfengine.

2011-04-26 Thread Bennett Roller
Seems to be a bug with setting permissions , this was submitted by an engineer that works with me. Here is the code "/mnt/disk01/." perms => mog("744", "oracle", "dba"), create => "true"; "/mnt/disk02/."

Cfengine Help: Re: Cfengine time handling

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine time handling Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21606,21619#msg-21619 Ok, so after posting, I figured I should just test it myself instead of waiting for someone else. :) me@host $ cat /tmp/test.cf body common control{

Cfengine Help: Re: hp-ux SD package management

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: hp-ux SD package management Author: mvpel Link to topic: https://cfengine.com/forum/read.php?3,21261,21618#msg-21618 What do you suppose the best way to handle SD-UX bundles - such as GOLDAPPS11i, ENHAUTO, and the like - would be within the cfengine package_metho

Updating Solaris Packages

2011-04-26 Thread Simon Oxwell
Hi all, I've seen solutions on this list in the past about installing packages in Solaris via cfengine, and I working through the document and some examples I have a structure that works very well for installing packages where none exist (hooray!), but I'm now up to the point where I need to up

Cfengine Help: Re: Avoiding "Duplicate selection of value"

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Avoiding "Duplicate selection of value" Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21572,21616#msg-21616 Michael Stevens Wrote: > do_script:: > > '/bin/echo "/path/to/script.sh > >/tmp/script.log 2>&1" |' >

Re: Avoiding "Duplicate selection of value"

2011-04-26 Thread Michael Stevens
In case it'll eventually be helpful to somebody, here's how I ended up dealing with this ( run script once a day, distribute over time to avoid overwhelming file server script pulls data from; ) { classes: "do_script" and => { "these_machines", "Hr00_Q1" }; vars: do_script::

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21589,21614#msg-21614 Touche. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinf

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21589,21613#msg-21613 sauer Wrote: > In which case you'd have to manage the whole file > in one shot instead of a few lines at a time. ;) Which is no different fr

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21589,21612#msg-21612 neilhwatson Wrote: --- > You could also empty the file before editing. In which case you'd hav

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21589,21611#msg-21611 You could also empty the file before editing. ___ Help-cfengine mailing list Help-cfengine@cfeng

Cfengine Help: Re: Possible to kill cf-agent if execution is longer than XYZ seconds?

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Possible to kill cf-agent if execution is longer than XYZ seconds? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21607,21610#msg-21610 http://www.cfengine.org/manuals/cf3-reference.html#expireafter-in-agent _

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21589,21609#msg-21609 neilhwatson Wrote: --- > sauer Wrote: > -- > --

Re: Avoiding "Duplicate selection of value"

2011-04-26 Thread Michael Stevens
No idea how long I would have poked around in the docs before finding this, thanks. On Apr 26, 2011, at 4:38 AM, Francoeur, Louis wrote: > If you don't want the messages about redefinition of constant, > You have to add: >policy => "free" > to your variable. > > Example: > "jobs_in_qu

Cfengine Help: Possible to kill cf-agent if execution is longer than XYZ seconds?

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Possible to kill cf-agent if execution is longer than XYZ seconds? Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,21607,21607#msg-21607 I'm starting to see instances where I am getting a pile-up of cf-agent executions. This can ha

Cfengine Help: Cfengine time handling

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Cfengine time handling Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21606,21606#msg-21606 Something I've not been completely clear upon (well, among several things) is how Cfengine handles time. Are the "integers" referenced just Unix time val

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21589,21605#msg-21605 Jon, Where is this bundle? edit_line => upgrade_cfexecd, ___ Help-cfengine mailing list Help-cf

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21589,21604#msg-21604 sauer Wrote: --- > On a related note, I'd be marginally concerned > about the problem whi

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: jonb1987 Link to topic: https://cfengine.com/forum/read.php?3,21589,21603#msg-21603 OK, thanks to all for hints. Here's what I've done, which is the cleanest and most generic way I've found so far - comments/criticisms grateful

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21589,21602#msg-21602 So, this is related to a difficulty I'm having in some enterprise adminastration as well. Cron is a pretty good example. We have some cron job

Cfengine Help: Re: Literature on Cfengine3

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Literature on Cfengine3 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21598,21601#msg-21601 Yes, one book is in the works but it is in very early stages. I don't know the release date. ___ H

Re: Literature on Cfengine3

2011-04-26 Thread Nick Anderson
On 04/26/2011 09:21 AM, Alfred Angelov wrote: > Hey there, > > is there any printed / online published books that are either in English > or Slovenian; that talk about cfengine3. Best case scenario would be a > "teach yourself cfengine3" type of books. > > Any input is greatly appreciated. The d

Re: Cfengine Help: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary)

2011-04-26 Thread Jesse Becker
On Tue, Apr 26, 2011 at 09:38:25AM -0400, no-re...@cfengine.com wrote: >Forum: Cfengine Help >Subject: Re: Cfengine Help: rather complex scenario (pkg install+configure - >if necessary) >Author: ticketo >Link to topic: https://cfengine.com/forum/read.php?3,21559,21593#msg-21593 > >If it's about ch

Literature on Cfengine3

2011-04-26 Thread Alfred Angelov
Hey there, is there any printed / online published books that are either in English or Slovenian; that talk about cfengine3. Best case scenario would be a "teach yourself cfengine3" type of books. Any input is greatly appreciated. Regards, Alfred. ___

Cfengine Help: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary)

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary) Author: ticketo Link to topic: https://cfengine.com/forum/read.php?3,21559,21597#msg-21597 Bundle 3 - configure postfix/exim/sendmail IF present I do not recommend automatically dete

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21589,21596#msg-21596 I do not think that you can append a list. This might have changed recently. ___ Help-cfengine

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: ticketo Link to topic: https://cfengine.com/forum/read.php?3,21589,21595#msg-21595 Returning to the topic: Is it possible to modify a global slist? I could use this if I want to keep a list of all cronjobs that should be prese

Cfengine Help: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary)

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary) Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21559,21594#msg-21594 Off the top of my head. Bundle 1 - install mpt-status Using a classes promise check some

Cfengine Help: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary)

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary) Author: ticketo Link to topic: https://cfengine.com/forum/read.php?3,21559,21593#msg-21593 I already did that multiple times and I'm not quite sure what you are referring to. If it's

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21589,21592#msg-21592 Excerpt from upcoming cookbook recipies. Managing crontables Problem You want Cfengine to manage crontables. Solution The recpie we used to

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: jonb1987 Link to topic: https://cfengine.com/forum/read.php?3,21589,21591#msg-21591 Thanks for your prompt response Neil! I understand your point (I think), but beg to differ slightly on the conclusion, particularly for cron.

Cfengine Help: Re: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21589,21590#msg-21590 Typically bundles are self contained with a purpose, (e.g. configure and run crond). Sending information to a common restart function is no

Cfengine Help: How to modify a global list

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: How to modify a global list Author: jonb1987 Link to topic: https://cfengine.com/forum/read.php?3,21589,21589#msg-21589 I'm new to cfengine3, and am struggling to know how to do the following: Various different edits of control files will require a service reload or

Cfengine Help: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary)

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary) Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21559,21588#msg-21588 You might look at the solutions guide as a place to start. http://www.cfengine.org/manuals

Cfengine Help: Package installation - trouble specifying environment variable

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Package installation - trouble specifying environment variable Author: ticketo Link to topic: https://cfengine.com/forum/read.php?3,21587,21587#msg-21587 Hello Reading through the documentation, the cleanest (and changewise most confined) way to enable non-interacti

RE: Avoiding "Duplicate selection of value"

2011-04-26 Thread Francoeur, Louis
If you don't want the messages about redefinition of constant, You have to add: policy => "free" to your variable. Example: "jobs_in_queue" string => execresult("/usr/bin/lpstat -o -i | /usr/bin/grep \"^$(queue)-\" | /usr/bin/wc -l", "useshell"), policy => "free"; Louis Franco

Cfengine Help: lock-log file

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: lock-log file Author: bglomm Link to topic: https://cfengine.com/forum/read.php?3,21585,21585#msg-21585 Hi all, I got this strange syslog entry on a system shutdown. ... Apr 26 11:01:41 argus2 cf3[5731]: Can't open lock-log file Apr 26 11:01:41 argus2 cf3[5731]:

Cfengine Help: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary)

2011-04-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: rather complex scenario (pkg install+configure - if necessary) Author: ticketo Link to topic: https://cfengine.com/forum/read.php?3,21559,21584#msg-21584 Thank you for your reply. It confirms my suspicion, that skipping the debconf stage completel