CFEngine Help: Re: CFengine 3 Remote Communication!

2012-03-16 Thread no-reply
Forum: CFEngine Help Subject: Re: CFengine 3 Remote Communication! Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,25314,25315#msg-25315 I'd say it's in the CFEngine 3 Tutorial, particularly these sections: https://cfengine.com/manuals/cf3-tutorial#The-components-of-C

CFengine 3 Remote Communication!

2012-03-16 Thread Jan Muhammad
Hi, Can anyone please help me to understand the "CFengine 3 Remote Communication" along with different scenarios as it is given for CFengine 2 on this link (https://cfengine.com/manuals/cf-manuals/cf2-remotecomm). Which of the manuals here ( https://cfengine.com/manuals/), would better repres

Re: CFEngine Help: Permissions and ownership with recursive copy_from

2012-03-16 Thread Nick Anderson
On 03/16/2012 04:27 AM, no-re...@cfengine.com wrote: > And then the file-tree under /cfengine/config/myclass looks something like > this > etc/ > foo.conf > bar.conf > init.d/ > startsomething > > For example, I would like to set foo.conf to mode 600 and owner foo.foo, >

CFEngine Help: Help with packages

2012-03-16 Thread no-reply
Forum: CFEngine Help Subject: Help with packages Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25312,25312#msg-25312 Greetings, Consider this body from the stdlib. body package_method rpm_version(repo) { package_changes => "individual"; package_list_command => "/bin/r

Re: please put a prefix on the subject line

2012-03-16 Thread Mikhail Gusarov
On 16.03.2012 17:45, Jerome Yanga wrote: > Would it be possible to put a prefix in the subject line like all the > other mailing lists Actual ratio of prefixed and un-prefixed lists is around 50%/50%. Both options have vocal proponents and opponents. > so that I may be able to organize my email

Re: CFEngine Help: Re: Removal of BDB backend

2012-03-16 Thread Mikhail Gusarov
Eric, On 16.03.2012 18:02, no-re...@cfengine.com wrote: > We'd like to investigate the problems you were having. To that end, I was > hoping someone could answer the following questions: > > 1. I see you have 2 products, CFE Community and CFE Nova. Which one(s) was > BDB being used in? CFE Com

Upcoming training in London - last minute offer

2012-03-16 Thread Nicolas Charles
Fellow cfengineers, In 10 days, we'll be doing a 3 days CFEngine training in London, and we've got a last minute discount to fill the remaining seats. If you are interested, you can register here : http://cfengine-training-london-uk-march-2012.eventbrite.com/ If you are not, sorry for the spam.

please put a prefix on the subject line

2012-03-16 Thread Jerome Yanga
Would it be possible to put a prefix in the subject line like all the other mailing lists so that I may be able to organize my emails? Thank you in advance. Regards, j ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailma

CFEngine Help: Re: Warning: upcoming removal of Berkeley DB backend

2012-03-16 Thread no-reply
Forum: CFEngine Help Subject: Re: Warning: upcoming removal of Berkeley DB backend Author: ejensen Link to topic: https://cfengine.com/forum/read.php?3,25234,25306#msg-25306 Hi, My name is Eric Jensen, I’m the Product Manager for Berkeley DB at Oracle. I’m sorry to hear that you’ve chosen to remo

CFEngine Help: Re: Removal of BDB backend

2012-03-16 Thread no-reply
Forum: CFEngine Help Subject: Re: Removal of BDB backend Author: ejensen Link to topic: https://cfengine.com/forum/read.php?3,25240,25305#msg-25305 Hi, My name is Eric Jensen, I’m the Product Manager for Berkeley DB at Oracle. I’m sorry to hear that you’ve chosen to remove Berkeley DB from your p

Re: classes not working in vars?

2012-03-16 Thread Nick Anderson
On 03/16/2012 11:42 AM, Marco Marongiu wrote: > Il 16/03/2012 15:42, Nick Anderson ha scritto: Your approach is not exactly equivalent to having a classes attribute in vars, but I made it do ;) >> What is so different about it? > > The difference is that with a classes attribute, the cla

Re: classes not working in vars?

2012-03-16 Thread Marco Marongiu
Il 16/03/2012 15:58, Brian Bennett ha scritto: > Are you trying to set a class if a vars promise has been kept, or set > a variable based on the existence of a class? Actually both :) $(shortname) is set to $(names), if a $(names) class is defined. What I desired was that, once $(shortname) is s

Re: classes not working in vars?

2012-03-16 Thread Marco Marongiu
Il 16/03/2012 15:42, Nick Anderson ha scritto: >> > Your approach is not exactly equivalent to having a classes attribute in >> > vars, but I made it do ;) > What is so different about it? The difference is that with a classes attribute, the class is set immediately, and would affect subsequent pr

Re: classes not working in vars?

2012-03-16 Thread Brian Bennett
Are you trying to set a class if a vars promise has been kept, or set a variable based on the existence of a class? -- Brian On Mar 16, 2012, at 7:41 AM, Marco Marongiu wrote: > Il 16/03/2012 15:16, Nick Anderson ha scritto: classes: >> "has_shortname" >> expression => isvar

CFEngine Help: Re: CFEngine Help: Bundle meta data

2012-03-16 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Bundle meta data Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,25277,25300#msg-25300 Rather than using a reserved name, why not a reserved namespace? If you define a namespace using a current reserved word, then you could simp

Re: classes not working in vars?

2012-03-16 Thread Nick Anderson
On 03/16/2012 09:41 AM, Marco Marongiu wrote: > Il 16/03/2012 15:16, Nick Anderson ha scritto: classes: >> "has_shortname" >> expression => isvariable("shortname"), >> comment => "Set a class if short hostname has been defined"; Nice hint, thanks, I'll use it

Re: classes not working in vars?

2012-03-16 Thread Marco Marongiu
Il 16/03/2012 15:16, Nick Anderson ha scritto: >>> classes: >>> >> "has_shortname" >>> >> expression => isvariable("shortname"), >>> >> comment => "Set a class if short hostname has been defined"; >> > >> > Nice hint, thanks, I'll use it :) > I am kind of surprised that having classes

Re: classes not working in vars?

2012-03-16 Thread Nick Anderson
On 03/16/2012 08:44 AM, Marco Marongiu wrote: > Il 16/03/2012 14:26, Nick Anderson ha scritto: >> classes: >> "has_shortname" >> expression => isvariable("shortname"), >> comment => "Set a class if short hostname has been defined"; > > Nice hint, thanks, I'll use it :) I am kind of su

Re: classes not working in vars?

2012-03-16 Thread Marco Marongiu
Il 16/03/2012 14:26, Nick Anderson ha scritto: > classes: > "has_shortname" > expression => isvariable("shortname"), > comment => "Set a class if short hostname has been defined"; Nice hint, thanks, I'll use it :) ciao -- bronto ___ Help-cfe

Re: classes not working in vars?

2012-03-16 Thread Nick Anderson
On 03/16/2012 07:53 AM, Marco Marongiu wrote: > Hi > > Hi had this vars: promise not working as expected: > > "shortname" > comment=> "set a short name if $(names) is defined", > classes=> always("has_shortname"), > string => "$(names)", > ifvarcl

CFEngine Help: Re: classes not working in vars?

2012-03-16 Thread no-reply
Forum: CFEngine Help Subject: Re: classes not working in vars? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25293,25294#msg-25294 Why do you need the class set? No, I don't think it will work. ___ Help-cfengine mailing list

classes not working in vars?

2012-03-16 Thread Marco Marongiu
Hi Hi had this vars: promise not working as expected: "shortname" comment=> "set a short name if $(names) is defined", classes=> always("has_shortname"), string => "$(names)", ifvarclass => "$(names)" ; shortname got its value after $(nam

Re: CFEngine Help: Re: CFEngine Help: Bundle meta data

2012-03-16 Thread Nicolas Charles
On 16/03/2012 08:29, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Bundle meta data > Author: mark > Link to topic: https://cfengine.com/forum/read.php?3,25271,25289#msg-25289 > > Yes I also considered this prefix idea to be a possibility (rather than a > specia

CFEngine Help: Permissions and ownership with recursive copy_from

2012-03-16 Thread no-reply
Forum: CFEngine Help Subject: Permissions and ownership with recursive copy_from Author: nico Link to topic: https://cfengine.com/forum/read.php?3,25291,25291#msg-25291 Hello, I have the following problem that I'm trying to find a solution for. I have a recursive copy_from that runs on a number

Re: CFEngine Help: Bundle meta data

2012-03-16 Thread Mark Burgess
On 03/15/2012 05:01 PM, Brian Bennett wrote: Are there already existing reserved local variable names? I don't know of any and I'd be resistant to starting this trend just for versioning. Yes, all these http://www.cfengine.com/manuals/cf3-reference#Variable-context-this Should this simply be

CFEngine Help: Re: CFEngine Help: Bundle meta data

2012-03-16 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Bundle meta data Author: mark Link to topic: https://cfengine.com/forum/read.php?3,25271,25289#msg-25289 Yes I also considered this prefix idea to be a possibility (rather than a special scope). What kind of extra attributes do you envisage? I am