$(match.1) with comment_lines_containing

2012-01-09 Thread Seifert, Christian
Hello, is this a bug in cfengine? I can not see any mistakes... This is my promise: bundle agent set_sudoers { files: "/etc/sudoers" create => "true", perms => mog("0440","root","root"), edit_line

CFEngine Help: Re: Using Variables in insert lines

2012-01-09 Thread no-reply
Forum: CFEngine Help Subject: Re: Using Variables in insert lines Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24417,24528#msg-24528 As is, the set_config_values() bundle will not work for the case you describe. For this you could use plain insert_lines: promises as I sho

CFEngine Help: Re: Using Variables in insert lines

2012-01-09 Thread no-reply
Forum: CFEngine Help Subject: Re: Using Variables in insert lines Author: timw077 Link to topic: https://cfengine.com/forum/read.php?3,24417,24526#msg-24526 Will this work with multiple lines being the same "setting?" i.e.for rsyslog, I need a couple of setting, and some seings I want to lo

Re: CFEngine Help: Re: Copy TO Policy Server

2012-01-09 Thread Bas van der Vlies
On 01/09/2012 04:00 PM, no-re...@cfengine.com wrote: Forum: CFEngine Help Subject: Re: Copy TO Policy Server Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24515,24524#msg-24524 tjavo87 Wrote: Is there a disadvantage when all the clients running the cf-serverd? You do want

CFEngine Help: Re: Copy TO Policy Server

2012-01-09 Thread no-reply
Forum: CFEngine Help Subject: Re: Copy TO Policy Server Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24515,24524#msg-24524 tjavo87 Wrote: > Is there a disadvantage when all the clients > running the cf-serverd? You do want to keep in mind that cf-serverd (and everything else

CFEngine Help: Re: Using dist for random selections

2012-01-09 Thread no-reply
Forum: CFEngine Help Subject: Re: Using dist for random selections Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24500,24523#msg-24523 It seems like perhaps using a persistent class and a transient class in combination would be an acceptable (perhaps even preferable) alternat

CFEngine Help: Review request for a new book on CF Engine (free copy)

2012-01-09 Thread no-reply
Forum: CFEngine Help Subject: Review request for a new book on CF Engine (free copy) Author: jiteshg Link to topic: https://cfengine.com/forum/read.php?3,24521,24521#msg-24521 Hi, I'm Jitesh, and I work for Packt Publishing. We are currently looking for people who'd be interested in reviewing o

CFEngine Help: Re: CFEngine Help: Re: Copy TO Policy Server

2012-01-09 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Copy TO Policy Server Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,24520,24522#msg-24522 Bas van der Vlies Wrote: --- > On 01/09/2012 10:44 AM, no-re...@cfengine.com > w

Re: CFEngine Help: Re: Copy TO Policy Server

2012-01-09 Thread Bas van der Vlies
On 01/09/2012 10:44 AM, no-re...@cfengine.com wrote: Forum: CFEngine Help Subject: Re: Copy TO Policy Server Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,24515,24517#msg-24517 mark Wrote: --- Same approach, just revers

Re: negating a class in policy

2012-01-09 Thread Michael Gliwinski
On Thursday 05 January 2012 07:23:33 you wrote: > While I don't know if it's possible to negate an existing class, if what > you're trying to do is force cfengine to unconditionally use apt-get > rather than aptitude, then you could copy the "body package_method apt" > promise from the stdlib, a

Re: negating a class in policy

2012-01-09 Thread Michael Gliwinski
Hi Diego, thanks for response. On Wednesday 04 January 2012 17:37:03 Diego Zamboni wrote: > To unconditionally undefined a class (which is what -N does) you could > define it as an expression that always evaluates to false: > > classes: > "class_to_undefine" not => "any"; I tried that, both w

CFEngine Help: Re: Copy TO Policy Server

2012-01-09 Thread no-reply
Forum: CFEngine Help Subject: Re: Copy TO Policy Server Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,24515,24517#msg-24517 mark Wrote: --- > Same approach, just reverse the names in the > previous example. > > This presu

CFEngine Help: Re: Copy TO Policy Server

2012-01-09 Thread no-reply
Forum: CFEngine Help Subject: Re: Copy TO Policy Server Author: mark Link to topic: https://cfengine.com/forum/read.php?3,24515,24516#msg-24516 Same approach, just reverse the names in the previous example. This presumes that you run the cf-serverd process on every host. Everything in cfengine