CFEngine Help: Private decrypt failed = padding check failed

2011-12-15 Thread no-reply
Forum: CFEngine Help Subject: Private decrypt failed = padding check failed Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,24303,24303#msg-24303 (Set of 15 machines, all RHEL 5.6, all cfengine community 3.1.4) >From time to time (every few days or so) the main cfengine serv

CFEngine Help: Re: Policy Servers

2011-12-15 Thread no-reply
Forum: CFEngine Help Subject: Re: Policy Servers Author: lauwersw Link to topic: https://cfengine.com/forum/read.php?3,24302,24304#msg-24304 tjavo87 Wrote: > - Do we need to bootstrap to both policy servers? I wouldn't know why: bootstrapping is just making sure that you have some initial code t

CFEngine Help: Re: Policy Servers

2011-12-15 Thread no-reply
Forum: CFEngine Help Subject: Re: Policy Servers Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,24302,24306#msg-24306 lauwersw Wrote: --- > tjavo87 Wrote: > > - Do we need to bootstrap to both policy > servers? > > I wouldn

Re: Is this the idiom for if...else?

2011-12-15 Thread Ted Zlatanov
On Wed, 14 Dec 2011 15:50:13 + (GMT) Mark Dixon wrote: MD> OK, so this works because of rule 5 of agent normal ordering ("The MD> order of promises within one of the above types follows their top-down MD> ordering within the bundle itself") from the reference manual? MD> http://cfengine.co

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Jesse Becker
On Wed, Dec 14, 2011 at 05:28:10AM -0500, Marco Marongiu wrote: >Hi > >I can't be as specific as lauwersw. I've been a cfengine2 user for some >time, but my experience with cfengine3 is still too small. > >1) So, on a general note, and resuming what I already said in other >threads, simple file edi

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Mark Burgess
This is not true. The file editing has been greatly simplified in appearance but it now a lot *more* powerful in cf3. It is expressed more convergently however so more consistent syntax, unlike 2. If you need some tips help us to improve the special topics guide on editing by suggesting example

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Nicolas Charles
On 14/12/2011 09:45, no-re...@cfengine.com wrote: > 3) Why is there a difference between global and local classes? In many cases > I would prefer to have my local classes to be global. On the other hand I > didn't see a case yet where I wanted a global class to be local. If you're > afraid of na

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Nicolas Charles
On 14/12/2011 15:25, Nick Anderson wrote: > On 12/14/2011 07:58 AM, Ted Zlatanov wrote: >> 1) allow passing body parameters as JSON, not just positional >> parameters. Take the standard file permissions promise: >> >>"$(crond)/cfrun" >>perms => mo("644","root"); >> >> it instead b

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Jesse Becker
On Thu, Dec 15, 2011 at 03:11:25PM -0500, Mark Burgess wrote: >This is not true. The file editing has been greatly simplified in appearance >but it now a lot *more* powerful in cf3. It is expressed more convergently >however so more consistent syntax, unlike 2. Oh, that I agree with--the syntax

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Mark Burgess
> vars: > smb_shares slist => readstringlist( > '/data/smb_shares.lst', '#', > "\n\n", > "1000", > "64000"); > files: > "/etc/samba/smb.conf" > perms => mog('644','root','root'), > create => true, > template_from => template('/templates/smb.conf'), > classes => { promise_repaired('bounce_smbd', 'b

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Jesse Becker
On Thu, Dec 15, 2011 at 03:46:40PM -0500, Mark Burgess wrote: > >> vars: >> smb_shares slist => readstringlist( >> '/data/smb_shares.lst', '#', >> "\n\n", >> "1000", >> "64000"); >> files: >> "/etc/samba/smb.conf" >> perms => mog('644','root','root'), >> create => true, >> template_from => template

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Mark Burgess
As far as I see my example is a direct translation of yours? No additional steps... What am I missing? -- Sent from my Android phone with probably ridiculous and involuntary spelling corrections Jesse Becker wrote: On Thu, Dec 15, 2011 at 03:46:40PM -0500, Mark Burgess wrote: > >> vars: >> s

CFEngine Help: Re: Policy Servers

2011-12-15 Thread no-reply
Forum: CFEngine Help Subject: Re: Policy Servers Author: n...@cmdln.org Link to topic: https://cfengine.com/forum/read.php?3,24302,24317#msg-24317 Does policy_server.dat support multiple entries? The generated bootstrap policy doesn't appear so ___ Hel

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Erlend Leganger
On 14 December 2011 09:45, wrote: > reports: > any:: > > This is not allowed, if you didn't know it yet. Still what everybody does > now is this: > > reports: > cfengine:: > I knew about the any:: restriction, but not the workaround - thanks! - Erlend _

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Erlend Leganger
2011/12/14 Ted Zlatanov > > "$(crond)/cfrun" > perms => "{ mode: 644, owners: ['root'] }"; > A definitive +1 - as a Perl user, I've always missed this syntax shortcut. It's compact and readable - I can't see any drawbacks with it. - Erlend _

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-15 Thread Mark Burgess
Please forget you ever saw this. This might look superficially attractive to a programmer but it suffers from many problems, not the least of which would be a major increase in the size and complexity of the parser. This approach does not satisfy the criteria for good knowledge management. It a