Re: Inconsistent cf-promises behavior

2010-12-02 Thread Marc Baudoin
Marc Baudoin écrit : > Marc Baudoin écrit : > > > > I've just got an e-mail from a Cfengine client saying: > > > > cf3:/var/cfengine/inputs/stg_storage.cf:17,0: Broken variable syntax or > > bracket mismatch in string ( $(s\321G@), near tok

Re: Problem with ifvarclass and policy

2010-11-26 Thread Marc Baudoin
Seva Gluschenko écrit : > > did you try ifvarclass => canonify(...) ? Sure (but it seems, according to the documentation, it's not required there) but the problem is the same. -- Marc Baudoin STG Interactive ___ Help-cfengine mai

Problem with ifvarclass and policy

2010-11-26 Thread Marc Baudoin
figuration, whose names are built from string variables and each list is defined only if a certain class exists and I need to use ifvarclass because the names of the classes are not fixed (they also depend on variables). Then I gather all the existing lists (hence the ifdefined policy)

Re: Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread Marc Baudoin
all use braces... -- Marc Baudoin STG Interactive ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

"Duplicate selection of value for variable ..." messages

2010-11-25 Thread Marc Baudoin
nd anything useful. My policy seems simple enough... I'm using Cfengine community edition 3.1.1. Any idea? -- Marc Baudoin STG Interactive body common control { bundlesequence => { "test" } ; } bundle agent test { vars: "foo" slist =

Re: Inconsistent cf-promises behavior

2010-11-17 Thread Marc Baudoin
Marc Baudoin écrit : > > I've just got an e-mail from a Cfengine client saying: > > cf3:/var/cfengine/inputs/stg_storage.cf:17,0: Broken variable syntax or > bracket mismatch in string ( $(s\321G@), near token '' > cf-agent was not able to get confirma

Re: Strategies for modular bundlesequence and inputs

2010-11-09 Thread Marc Baudoin
Marc Baudoin écrit : > > As the number of different types of hosts in my configuration > grows, I wonder what are the strategies for making bundlesequence > and inputs more modular. > > I define a class for each type of hosts so, of course, there's > the class approach

Re: Strategies for modular bundlesequence and inputs

2010-11-09 Thread Marc Baudoin
Bas van der Vlies écrit : > > On 9 nov 2010, at 11:32, Marc Baudoin wrote: > > > Sure, better than nothing. It works for bundlesequence but not > > for inputs. I just got this error message: > > > > Can't stat file "/var/cfengine/inputs/@(g.inputs)&

Re: Strategies for modular bundlesequence and inputs

2010-11-09 Thread Marc Baudoin
Michael Potter écrit : > On Tue, Nov 9, 2010 at 1:39 AM, Marc Baudoin > wrote: > > > > As the number of different types of hosts in my configuration > > grows, I wonder what are the strategies for making bundlesequence > > and inputs more modular. > > I have

Re: Strategies for modular bundlesequence and inputs

2010-11-08 Thread Marc Baudoin
l is > to have all the common stuff in the bundleseuquence, and then a single module > which has a number of class-selected methods promises for the specific stuff. Which makes two places to look for what bundles need to be executed. -- Mar

Strategies for modular bundlesequence and inputs

2010-11-08 Thread Marc Baudoin
uot; } ; and I found no way to add elements to an existing slist. So I'm stuck here with no elegant solution to my problem. How do people with a non-trivial configuration deal with this? -- Marc Baudoin STG Interactive ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Inconsistent cf-promises behavior

2010-11-05 Thread Marc Baudoin
o failsafe The binaries are from the SVN version from a few days ago and the configuration has not changed. It worked 5 minutes before and it worked again 5 minutes after, with no change whatsoever inbetween so I can't reproduce this behavior. Any idea what could have gone wrong? -- Marc Bau

Re: Filesystem %s's content seems to be sensible as promised

2010-07-01 Thread Marc Baudoin
No other e-mail is sent thereafter, as long as no other notification has to be sent. Anyway, a file is notheless generated in /var/cfengine/outputs. Maybe I missed something in the documentation and there's a way to receive unusual notifications nonetheless but I can't find it..

Filesystem %s's content seems to be sensible as promised

2010-07-01 Thread Marc Baudoin
wrong and not generate reports when things are the way they're supposed to be? By the way, this kind of thing generates extra reports which are probably not wanted. I'd like to have your opinion before filing a issue. Is this behaviour useful?

Re: Deleting unwanted packages

2010-05-10 Thread Marc Baudoin
ly - well, okay... As the documentation states (page 26) : 2. Within a bundle, the promise types are executed in a round-robin fashion according to so-called `normal ordering' (essentially deletion first followed by creation). The actual sequence continues for up to three iterations of the

Re: Deleting unwanted packages

2010-05-07 Thread Marc Baudoin
[ Replying to myself. ] Marc Baudoin écrit : > > I'm assessing Cfengine 3 (community edition) to manage a bunch of > servers. It seems to have all the required features but I can't > figure out how to manage packages (at least in the way I want). > I believe package m

Bad inode number in report from changes

2010-05-03 Thread Marc Baudoin
h the new inode seems to be recorded OK in Cfengine's database because it is right in the next reports): ALERT: inode for /home/user/tmp/toto changed 6326 -> 0 Should I file a bug report or am I doing something wrong? -- Marc Baudoin STG Interactive

Deleting unwanted packages

2010-04-28 Thread Marc Baudoin
tch_package)" package_policy => "delete" , package_method => generic ; But I haven't found the right syntax to use (I may have missed something in the documentation, as it's quite hard for a newcomer). Is there a way to do that? -