CFEngine Help: Re: Set class on values in iptables

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Set class on values in iptables Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,24793,24895#msg-24895 Have a look at http://cfengineers.org/wiki/index.php/Iptables too. ___ Help-cfengine mailing list

allowconnects matching clarification needed

2012-02-17 Thread Abid Khwaja
Today I begin the conversion of our CF2 environment to CF3. Some basic questions I would like clarification on please. In the below: allowconnects => { "127.0.0.1" , "::1", @(def.acl) }; Each of the 3 items within brackets are regex’s. But, at an examples CF3 code site, I see

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

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: 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,24898#msg-24898 Ok...i will wait for the final version :) ___ Help-cfengine mailing li

CFEngine Help: Re: Is there a way to compile cfengine with HP C/C++ compiler?

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Is there a way to compile cfengine with HP C/C++ compiler? Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,24885,24899#msg-24899 I compile cfengine on 11.31 without any problem using -Agcc option. This is what I used for 3.2.4: ./autogen.sh

CFEngine Help: websvn

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: websvn Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,24900,24900#msg-24900 For the love of God, where is the websvn page now? It's almost impossible to find anything quickly with the recent fiddling going on with cfengine.com. __

Re: CFEngine Help: websvn

2012-02-17 Thread Bas van der Vlies
On 02/17/2012 02:55 PM, no-re...@cfengine.com wrote: Forum: CFEngine Help Subject: websvn Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,24900,24900#msg-24900 For the love of God, where is the websvn page now? It's almost impossible to find anything quickly with the recent f

CFEngine Help: Select files

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Select files Author: skycoyotte Link to topic: https://cfengine.com/forum/read.php?3,24901,24901#msg-24901 Hi I want to zeroing files bigger than 500 MB, on a signle directory. I wrote this agent : bundle agent garbage_collection { files: any:: "/dir/to/watch/

CFEngine Help: Re: allowconnects matching clarification needed

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: allowconnects matching clarification needed Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24897,24903#msg-24903 @(def.acl) comes from the common bundle named 'def'. ___ Help-cfengine mailing l

CFEngine Help: Re: Select files

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Select files Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24901,24904#msg-24904 irange should be an integer not a regex. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfen

CFEngine Help: Re: CFEngine Help: websvn

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: websvn Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,24902,24905#msg-24905 Thanks, Bas. I guess this is one of the recent "improvements" made to cfengine.com. ___ Help-cfengine maili

CFEngine Help: edit_lines with regex promiser does not work

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: edit_lines with regex promiser does not work Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,24906,24906#msg-24906 This has been brought up more than once. I understand (partly) that depth_search and edit_lines are a big thing (why, actually?), b

CFEngine Help: Re: websvn

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: websvn Author: CFEngine Link to topic: https://cfengine.com/forum/read.php?3,24900,24907#msg-24907 Hi Beto - We have been making some changes to the website, in order to help our user base to get more value out of our documentation. While doing so, we relocated

Find which nic(s) match with iprange?

2012-02-17 Thread Nick Anderson
Can anyone think of a way to find which interfaces lie in an iprange using the iprange function? I can define a class based on regcmp but that obviously takes a regex which complicates the information passed to the bundle, I already have the cidr network so I would like to use that, but I cant see

CFEngine Help: Re: websvn

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: websvn Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24900,24909#msg-24909 The trouble with this type of page: http://cfengine.com/manuals is that one cannot use the browser's search to find links on the page. The mouse-over javascrip

CFEngine Help: Re: Select files

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Select files Author: skycoyotte Link to topic: https://cfengine.com/forum/read.php?3,24901,24910#msg-24910 Thanks for your reply; In my example : file_select => data_log_size(".*","50","inf"), body file_select data_log_size(a,b,c) { leaf_name => {

Re: CFEngine Help: Select files

2012-02-17 Thread Nicolas Charles
On 17/02/2012 15:01, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Select files > Author: skycoyotte > Link to topic: https://cfengine.com/forum/read.php?3,24901,24901#msg-24901 > > Hi > > I want to zeroing files bigger than 500 MB, on a signle directory. > I wrote this agent : > >

CFEngine Help: client not updating modified promises.cf

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: client not updating modified promises.cf Author: sreejithpoothu Link to topic: https://cfengine.com/forum/read.php?3,24911,24911#msg-24911 Hi, I am new to cfengine and created client and server.It is woking fine.But i want to make some changes to my promise.cf file

CFEngine Help: Re: websvn

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: websvn Author: CFEngine Link to topic: https://cfengine.com/forum/read.php?3,24900,24912#msg-24912 Thanks Neil. Good point about the browser search. I think if we add a toggle all topics on the left people will be able to expand all and then the search will work

CFEngine Help: Re: Find which nic(s) match with iprange?

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Find which nic(s) match with iprange? Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24908,24914#msg-24914 Hi Nick, I was going to reply with what's below, but then I realized that you are correct - iprange() doesn't allow you to specify w

CFEngine Help: Re: Select files

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Select files Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24901,24915#msg-24915 You are right, I mistakenly looked at the 'a' argument. I think it should work. I have seen bugs in CF where unit conversion is in error. Try adding or

CFEngine Help: Re: client not updating modified promises.cf

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: client not updating modified promises.cf Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24911,24916#msg-24916 cf-agent will not reread the changed files. However if you look at the cf-execd command in the sample policy, that comes with

CFEngine Help: Re: client not updating modified promises.cf

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: client not updating modified promises.cf Author: sreejithpoothu Link to topic: https://cfengine.com/forum/read.php?3,24911,24917#msg-24917 Do we need to run it manually after making changes? ___ Help-cfengine mailing li

CFEngine Help: FYI - CFEngine 3.2.1 with Cygwin

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: FYI - CFEngine 3.2.1 with Cygwin Author: roadtest Link to topic: https://cfengine.com/forum/read.php?3,24918,24918#msg-24918 Hi, I compiled CFEngine 3.2.1 under Cygwin on window 7-x64 and notice there is a bug with cf-serverd process. Although I don't have any IPv6

CFEngine Help: Re: client not updating modified promises.cf

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: client not updating modified promises.cf Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24911,24919#msg-24919 I suggest that you review the tutorial and my own tutorial. Many of the concepts you are asking about are explained in these.

RE: CFEngine Help: Re: Is there a way to compile cfengine with HP C/C++ compiler?

2012-02-17 Thread Francoeur, Louis
My 11.31 are PROD machines so it is hard to introduce changes in them. I do not have autogen and my compiler is older than you (C.11.31.03). It did compile with configure but it did a bus dump on execution. Thanks Louis Francoeur Unix administrator/Adminstrateur Unix -Original Message-

CFEngine Help: Re: Select files

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Select files Author: skycoyotte Link to topic: https://cfengine.com/forum/read.php?3,24901,24921#msg-24921 I removed / added a zero. Nothing I tried to use this file_result string file_result => "!file_types.leaf_name.search_size"; ...and now, no files se

Re: CFEngine Help: Re: Find which nic(s) match with iprange?

2012-02-17 Thread Nick Anderson
On 02/17/2012 12:04 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: Find which nic(s) match with iprange? > Author: zzamboni > Link to topic: https://cfengine.com/forum/read.php?3,24908,24914#msg-24914 > > Hi Nick, > > I was going to reply with what's below, but then I real

Is there a way to get the current bundle name?

2012-02-17 Thread Nick Anderson
I don't see a variable to get the current bundle name, maybe I missed it? I have a pattern that I am using for managing interface configuration files on redhat. I use a seperate bundle for each node that I want to do this on and I have to change the global reference for the array storing the confi

Re: Is there a way to get the current bundle name?

2012-02-17 Thread Nick Anderson
On 02/17/2012 02:13 PM, Nick Anderson wrote: > I don't see a variable to get the current bundle name, maybe I missed it? > > I have a pattern that I am using for managing interface configuration > files on redhat. I use a seperate bundle for each node that I want to do > this on and I have to chan

CFEngine Help: Re: Select files

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Select files Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24901,24923#msg-24923 The conversion errors would be related to typical SI jumps (e.g kb to mb). Add or remove three zeros at least, or change the file size. _

CFEngine Help: Re: Is there a way to get the current bundle name?

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Is there a way to get the current bundle name? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24924,24926#msg-24926 I'm curious why you would choose a custom bundle for each host rather than passing IP parameters to a more general purpos

Re: CFEngine Help: Re: Is there a way to get the current bundle name?

2012-02-17 Thread Nick Anderson
On 02/17/2012 02:37 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: Is there a way to get the current bundle name? > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,24924,24926#msg-24926 > > I'm curious why you would choose a custom bundle for each

CFEngine Help: Re: Is there a way to get the current bundle name?

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Is there a way to get the current bundle name? Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24924,24928#msg-24928 I am still interested to know if I can capture bundlename ? ___ Help-cfengine mai

Re: CFEngine Help: Re: Is there a way to get the current bundle name?

2012-02-17 Thread Aleksey Tsalolikhin
On Fri, Feb 17, 2012 at 1:28 PM, wrote: > Forum: CFEngine Help > Subject: Re: Is there a way to get the current bundle name? > Author: milindk > Link to topic: https://cfengine.com/forum/read.php?3,24924,24928#msg-24928 > > I am still interested to know if I can capture bundlename ? Sadly, you c

CFEngine Help: Re: Is there a way to get the current bundle name?

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Is there a way to get the current bundle name? Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24924,24930#msg-24930 Hi Thanks , I updated the ticket status , I can guess for now leave with combination of file and promise but I would like to

Re: CFEngine Help: Re: Is there a way to get the current bundle name?

2012-02-17 Thread Aleksey Tsalolikhin
On Fri, Feb 17, 2012 at 7:02 PM, wrote: > > Thanks , I updated the ticket status , I can guess for now leave with > combination of file and promise but I would like to see if we can capture > bundlename Right! Thanks. Aleksey ___ Help-cfengine mail

CFEngine Help: Re: Select files

2012-02-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Select files Author: skycoyotte Link to topic: https://cfengine.com/forum/read.php?3,24901,24932#msg-24932 Hi I tried whith '5', and '50' for the first range value... nothing to do. Is there any way to get more information than the cf-agent -v output ? I use th