SVN version number in tar.gz (was : Re: CFEngine Help: Re: Textual order of bundles produces ' Duplicate selection of value for variable ')

2012-02-10 Thread Nicolas Charles
Hi Interestingly, I couldn't reproduce this bug on my custom CFEngine 3.2.3 version (but on the latest trunk it happens). However, I have no idea of which exact version it is (was), since it was built from a tar.gz version, and the tar.gz downloaded from http://source.cfengine.com/browse/core/

Re: SVN version number in tar.gz (was : Re: CFEngine Help: Re: Textual order of bundles produces ' Duplicate selection of value for variable ')

2012-02-10 Thread Mikhail Gusarov
On 02/10/2012 10:32 AM, Nicolas Charles wrote: > Could it be possible to include in the tar.gz the SVN revision number > (and even display it in the output of the cf-agent -V) ? It is possible, but useless. If you want to see the SVN revision number for a release, just have a look at correspondi

Re: SVN version number in tar.gz (was : Re: CFEngine Help: Re: Textual order of bundles produces ' Duplicate selection of value for variable ')

2012-02-10 Thread Nicolas Charles
On 10/02/2012 10:34, Mikhail Gusarov wrote: > On 02/10/2012 10:32 AM, Nicolas Charles wrote: > >> Could it be possible to include in the tar.gz the SVN revision number >> (and even display it in the output of the cf-agent -V) ? > It is possible, but useless. If you want to see the SVN revision numb

Re: SVN version number in tar.gz (was : Re: CFEngine Help: Re: Textual order of bundles produces ' Duplicate selection of value for variable ')

2012-02-10 Thread Mikhail Gusarov
On 02/10/2012 11:11 AM, Nicolas Charles wrote: > Sure, but I'm not talking release but trunk version (for instance, right > now I test the revision 4008, but i'm not sure i'll remember this in 2 > months) Oh, but then it should be already in -V, as long as you build it from SVN checkout. If you

Re: SVN version number in tar.gz (was : Re: CFEngine Help: Re: Textual order of bundles produces ' Duplicate selection of value for variable ')

2012-02-10 Thread Nicolas Charles
On 10/02/2012 11:14, Mikhail Gusarov wrote: > On 02/10/2012 11:11 AM, Nicolas Charles wrote: > >> Sure, but I'm not talking release but trunk version (for instance, right >> now I test the revision 4008, but i'm not sure i'll remember this in 2 >> months) > Oh, but then it should be already in -V,

[ANNOUNCE] CFEngine Community 3.3.0a1 is released

2012-02-10 Thread Mikhail Gusarov
Good day. CFEngine Community 3.3.0alpha1 is now available for testing. New built-in functions: - dirname() to complement lastnode() - lsdir() - maplist() to apply functions over lists New features: - Allow defining arrays from modules. - Allow both `process_stop' and `signals' constraints in

Re: [ANNOUNCE] CFEngine Community 3.3.0a1 is released

2012-02-10 Thread Mike Svoboda
Congrats on the release! The included features below look awesome. Is this going to be considered the final/table 3.3.0 release or is this just an alpha? Thanks! Mike On 2/10/12 9:24 AM, "Mikhail Gusarov" wrote: >Good day. > >CFEngine Community 3.3.0alpha1 is now available for testing. > >N

Re: [ANNOUNCE] CFEngine Community 3.3.0a1 is released

2012-02-10 Thread Mikhail Gusarov
On 10.02.2012 18:22, Mike Svoboda wrote: > Congrats on the release! The included features below look awesome. Is > this going to be considered the final/table 3.3.0 release or is this just > an alpha? It is alpha, as stated in version number. We still have a few small features to be added befor

Set class on values in iptables

2012-02-10 Thread John Mitchell
Hiya, Sorry still learning cfEngine here, and its being a slow process but think I'm finally getting the hang of it, but am a little stumped by one problem. I'm trying to set firewall rules based on a certain set of circumstances, ie if a machine is defined as a webserver then port 80 should be a

Re: Set class on values in iptables

2012-02-10 Thread Nick Anderson
On 02/10/2012 12:24 PM, John Mitchell wrote: > Hiya, > > Sorry still learning cfEngine here, and its being a slow process but > think I'm finally getting the hang of it, but am a little stumped by one > problem. > > I'm trying to set firewall rules based on a certain set of > circumstances, ie if

Re: Set class on values in iptables

2012-02-10 Thread John Mitchell
This was my original idea, however I tried to start simpler, I tried to get a handle on editfiles only to realise after writing it... that I was using cfengine 2 syntax, which was vastly different. I was originally looking for "# Apache" and if not finding it then inserting it, # Apache variou

Re: Set class on values in iptables

2012-02-10 Thread Nick Anderson
On 02/10/2012 02:12 PM, John Mitchell wrote: > This was my original idea, however I tried to start simpler, I tried to > get a handle on editfiles only to realise after writing it... that I > was using cfengine 2 syntax, which was vastly different. > > I was originally looking for "# Apache" and