Re: CFEngine Help: New Book on Cfengine

2012-02-08 Thread Marco Marongiu
Il 08/12/2011 14:36, no-re...@cfengine.com ha scritto: > Indeed the Early Release is out, it includes the first four chapters > of the book, which are: Introduction, Getting Started with CFEngine, > CFEngine Basics and Using CFEngine. I read chapters 3 and 4: congratulations. This is the tutorial

RE: CFEngine Help: Re: create class which is a superset of another class

2012-02-08 Thread Lisa Sittler
It worked! Thanks for the help, Lisa -Original Message- From: Nicolas Charles [mailto:nicolas.char...@normation.com] Sent: Tuesday, February 07, 2012 5:16 PM To: Lisa Sittler Cc: help-cfengine@cfengine.org Subject: Re: CFEngine Help: Re: create class which is a superset of another clas

Re: CFEngine Help: New Book on Cfengine

2012-02-08 Thread Marco Marongiu
Il 08/02/2012 14:13, Marco Marongiu ha scritto: > Il 08/12/2011 14:36, no-re...@cfengine.com ha scritto: >> Indeed the Early Release is out, it includes the first four >> chapters of the book, which are: Introduction, Getting Started with >> CFEngine, CFEngine Basics and Using CFEngine. > > I read

Re: CFEngine Help: New Book on Cfengine

2012-02-08 Thread Nick Anderson
On 02/08/2012 08:17 AM, Marco Marongiu wrote: > The sshd_config example is interesting, but I think it is not general > enough. In fact, it will actually break if the configuration includes a > "Match" conditional block. > > It would be definitely a double-plus for the book if it deals with such >

Re: CFEngine Help: New Book on Cfengine

2012-02-08 Thread Diego Zamboni
Bronto, Thanks for the nice words. The book is in final review at the moment and about to enter final production phase. I think the final version should be out around mid-march (maybe sooner). --Diego On Feb 8, 2012, at 7:13 AM, Marco Marongiu wrote: > Il 08/12/2011 14:36, no-re...@cfengine

Re: CFEngine Help: New Book on Cfengine

2012-02-08 Thread Diego Zamboni
I agree this would make it more general. The book is in final draft form now, so I can't make any promises, but I'll see what I can do to incorporate this. If not, it can always be included in the next release of the book :) --Diego On Feb 8, 2012, at 8:22 AM, Nick Anderson wrote: > On 02/08

CFEngine Help: Don't know how to do for having only links that i want

2012-02-08 Thread no-reply
Forum: CFEngine Help Subject: Don't know how to do for having only links that i want Author: stchesmeli Link to topic: https://cfengine.com/forum/read.php?3,24769,24769#msg-24769 Hello all,here my trouble: I want to have only certains links into a directory and anything else. It's simple to verify

CFEngine Help: Re: body agent control

2012-02-08 Thread no-reply
Forum: CFEngine Help Subject: Re: body agent control Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24715,24770#msg-24770 You would either control parameters inside of the body using classes, or put the agent control block in a separate file, and use classes to determine which

CFEngine Help: Re: Don't know how to do for having only links that i want

2012-02-08 Thread no-reply
Forum: CFEngine Help Subject: Re: Don't know how to do for having only links that i want Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24769,24771#msg-24771 You might be able to have a promise that selects links that are not names as you like and delete them. You'll wan

CFEngine Help: Re: Don't know how to do for having only links that i want

2012-02-08 Thread no-reply
Forum: CFEngine Help Subject: Re: Don't know how to do for having only links that i want Author: toddnni Link to topic: https://cfengine.com/forum/read.php?3,24769,24773#msg-24773 As Neil said use you may use a promise like this files: "/my/dir/" depth_search => recurse("2"), # the number

CFEngine Help: Re: body agent control

2012-02-08 Thread no-reply
Forum: CFEngine Help Subject: Re: body agent control Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24715,24774#msg-24774 the reason I was asking this I wanted to use abortclasses thinking if I can use it under each of my bundle and define abort condition for that bundle I

CFEngine Help: Re: body agent control

2012-02-08 Thread no-reply
Forum: CFEngine Help Subject: Re: body agent control Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,24715,24775#msg-24775 Your approach is a bit too far complicated. Abortclasses stand for stopping execution completely. To avoid processing of just one bundle, make it

CFEngine Help: Re: How to uninstall cfengine on Linux node

2012-02-08 Thread no-reply
Forum: CFEngine Help Subject: Re: How to uninstall cfengine on Linux node Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24739,24776#msg-24776 If you have the original package from which you installed, you can either rpm -qlp /path/to/package.rpm and remove all of the files i

CFEngine Help: restart cf-serverd after cf-serverd.cf is modified

2012-02-08 Thread no-reply
Forum: CFEngine Help Subject: restart cf-serverd after cf-serverd.cf is modified Author: skel84 Link to topic: https://cfengine.com/forum/read.php?3,24777,24777#msg-24777 Hi, i can't figure out how to restart the cf-serverd after a modify happened and has been pulled from the policy server. I h

CFEngine Help: Re: restart cf-serverd after cf-serverd.cf is modified

2012-02-08 Thread no-reply
Forum: CFEngine Help Subject: Re: restart cf-serverd after cf-serverd.cf is modified Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24777,24778#msg-24778 I believe cf-serverd rereads the files when they change. No restart needed. However, if you look at the failsafe.cf

CFEngine Help: Re: restart cf-serverd after cf-serverd.cf is modified

2012-02-08 Thread no-reply
Forum: CFEngine Help Subject: Re: restart cf-serverd after cf-serverd.cf is modified Author: skel84 Link to topic: https://cfengine.com/forum/read.php?3,24777,24779#msg-24779 thanks for the quick reply. i'll take a look at the failsafe.cf and also make a test to check if it actually rereads the f

CFE 2: AutoDefine question

2012-02-08 Thread Brian Hill
If I define a group via AutoDefine and include it in an AddInstallable setting, shouldn't I be able to be use that group in the same control statement? "some_variable" doesn't get set, even though I can see via cfagent -v that file_copy_flag is being set via the AutoDefine: