CFEngine Help: Re: Difference betw CoreBase and example_config dirs?

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: Difference betw CoreBase and example_config dirs? Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,25116,25117#msg-25117 Mack, CoreBase is what used to be masterfiles in previous versions - that's what you should copy to /var/cfengine/master

CFEngine Help: Difference betw CoreBase and example_config dirs?

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Difference betw CoreBase and example_config dirs? Author: mack.rhinelander Link to topic: https://cfengine.com/forum/read.php?3,25116,25116#msg-25116 I installed 3.3.0a1 from source. The installer created /var/cfengine dirs, now I want to populate masterfiles/ with

Re: CFEngine Help: Re: Delete lines not matching list

2012-02-29 Thread Nick Anderson
On 02/29/2012 10:08 PM, Nick Anderson wrote: > Getting closer > > vars: > "regex" string => join("|", "list"); > > delete_lines: > "^(?!($(regex)).*).*$" > > this almost works like I want it, it makes this regex > ^(?!(1|2|3).*).*$ I dont know what I was thinking, this d

Re: CFEngine Help: Re: Delete lines not matching list

2012-02-29 Thread Nick Anderson
Getting closer vars: "regex" string => join("|", "list"); delete_lines: "^(?!($(regex)).*).*$" this almost works like I want it, it makes this regex ^(?!(1|2|3).*).*$ I want it to delete any line not starting with my list elements but this one doesn't do what I thought i

Re: CFEngine Help: Re: Delete lines not matching list

2012-02-29 Thread Nick Anderson
On 02/29/2012 09:44 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: Delete lines not matching list > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,25108,25112#msg-25112 > > !? is negative lookahead. It is more complicated that you think. List >

CFEngine Help: Re: Delete lines not matching list

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: Delete lines not matching list Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25108,25112#msg-25112 !? is negative lookahead. It is more complicated that you think. List iteration in edit_line bundles works. I'd done it myself. I can'

Re: CFEngine Help: Re: Delete lines not matching list

2012-02-29 Thread Nick Anderson
On 02/29/2012 09:02 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: Delete lines not matching list > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,25108,25109#msg-25109 > > I don't think that '!' is a legal regex.There is the negative class e

CFEngine Help: Re: Nova - priming svn repository?

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: Nova - priming svn repository? Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,25088,25110#msg-25110 John, I will make sure your questions get answered through our commercial support system. Thank you! _

CFEngine Help: Re: Delete lines not matching list

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: Delete lines not matching list Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25108,25109#msg-25109 I don't think that '!' is a legal regex.There is the negative class e.g. [^0-9]. ___ Hel

Delete lines not matching list

2012-02-29 Thread Nick Anderson
I am trying to delete all lines in a file that are not elements of my list. I have a standalone test posted here https://gist.github.com/1946826 The test populates /tmp/testfile with 3 lines 1 2 3 If you add a line that isnt one of those I want it to be deleted. It seems that I am not doing my d

CFEngine Help: Re: CFEngine Help: multihomed cf-serverd and ipv6

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: multihomed cf-serverd and ipv6 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25049,25107#msg-25107 I tried 3.2.1 on the client this evening. The same odd key missing the root prefix resulted on the server. _

Re: What does {{{ files: "/tmp/filename.txt"; }}} mean? (and why is not a "promise_kept" if /tmp/filename.txt exists?)

2012-02-29 Thread Aleksey Tsalolikhin
Thank you, Neil and Brian. Excellent points from both of you. Brian wrote: > > In your example the promiser is making an explicit promise of nothing, rather > than promising *something*. Precisely stated, sir. Very well done. Thank you for helping me to consider this. Yours fondly, Aleksey

CFEngine Help: Re: issue with the cfengine website

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: issue with the cfengine website Author: jonesy1234 Link to topic: https://cfengine.com/forum/read.php?3,25081,25105#msg-25105 I'm using Chrome - 17.0.963.56 m, but have tested in firefox with the same symptoms. I'll test it from home this evening to make sure it'

Re: What does {{{ files: "/tmp/filename.txt"; }}} mean? (and why is not a "promise_kept" if /tmp/filename.txt exists?)

2012-02-29 Thread Brian Bennett
Aleksey, I don't think that {{{ files: "/tmp/filename.txt"; }}} means that it is promised to *exist* since one of the attributes is delete, which means that the file promises to *not* exist. The way I read the files: promisetype for agent is that the promiser only promises to be a valid path n

CFEngine Help: Re: What does {{{ files: "/tmp/filename.txt"; }}} mean? (and why is not a "promise_kept" if /tmp/filename.txt exists?)

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: What does {{{ files: "/tmp/filename.txt"; }}} mean? (and why is not a "promise_kept" if /tmp/filename.txt exists?) Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25102,25103#msg-25103 I don't think your first promise follows the spirit o

What does {{{ files: "/tmp/filename.txt"; }}} mean? (and why is not a "promise_kept" if /tmp/filename.txt exists?)

2012-02-29 Thread Aleksey Tsalolikhin
Using CFEngine 3.2.1, I've observed that the promise_kept classes attribute is not getting set on files type promises when there are no attributes. Either that, I don't misunderstand files type promises, in which case I'd like to clear that up, please. Doesn't {{{ files: "/tmp/filename"; }}}

Re: CFEngine Help: Re: issue with the cfengine website

2012-02-29 Thread Nick Anderson
On 02/29/2012 10:55 AM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: issue with the cfengine website > Author: zzamboni > Link to topic: https://cfengine.com/forum/read.php?3,25081,25093#msg-25093 > > What browser are you using? I've experienced some sporadic slowness with >

Re: packages: overly verbose at -I

2012-02-29 Thread Diego Zamboni
Ian, Normal "-I" output is prefixed by "->". Lines starting with "Q: " are standard output produced by any commands executed by CFEngine, and are produced regardless of the -I flag, if there is any output from the commands (try it - run your file without the -I flag, you will still see the "Q:"

packages: overly verbose at -I

2012-02-29 Thread Ian
Looking at the manual, "cf-agent -I" supposedly prints "basic information about changes made to the system, i.e. promises repaired". Package promises don't seem to treat "-I" like this, though. The commands run due to package promises print their output (even in the case of my silent wrapper sc

Re: CFEngine Help: Re: The right order

2012-02-29 Thread Marco Marongiu
Il 29/02/2012 18:31, no-re...@cfengine.com ha scritto: > First of all, *aw shucks* thanks for the very nice words about the > book in your post :) My pleasure, that's much deserved! > Second, I would agree with everything that Mark said, and encourage > you to look at the new edit_template attri

CFEngine Help: Re: CFEngine Help: multihomed cf-serverd and ipv6

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: multihomed cf-serverd and ipv6 Author: bahamat Link to topic: https://cfengine.com/forum/read.php?3,25049,25097#msg-25097 I'm using it in almost the exact same scenario you are. Debian 6, amd64, IPv6 only. My clients and server have all bootstrappe

CFEngine Help: Re: The right order

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: The right order Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,25087,25096#msg-25096 Hi Marco, First of all, *aw shucks* thanks for the very nice words about the book in your post :) Second, I would agree with everything that Mark said, a

Re: Is source RPM available for prebuilt community pacakges?

2012-02-29 Thread Diego Zamboni
Sorry, my bad, I see now that you meant the source rpms. I don't think those are made available, but you can download the source files from https://cfengine.com/source-code. --Diego On Feb 29, 2012, at 10:57 AM, Diego Zamboni wrote: > All the binary packages are available at https://cfengine.c

Re: Is source RPM available for prebuilt community pacakges?

2012-02-29 Thread Diego Zamboni
All the binary packages are available at https://cfengine.com/inside/myspace (you need to create a cfengine.com account first) --Diego On Feb 29, 2012, at 2:48 AM, Kaiwang Chen wrote: > 2012/2/29 Kaiwang Chen : >> Hi all, >> >> >> The binaries are good, and I'd like to get into some details.

CFEngine Help: Re: issue with the cfengine website

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: issue with the cfengine website Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,25081,25093#msg-25093 What browser are you using? I've experienced some sporadic slowness with Safari, but it doesn't seem to affect Chrome or Firefox. I have r

CFEngine Help: renicing a process

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: renicing a process Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,25092,25092#msg-25092 I need to ensure the priority / "nice level" of some processes is set to a specific value. I don't see anything in the reference manual which enforces that

CFEngine Help: Re: CFEngine Help: multihomed cf-serverd and ipv6

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: multihomed cf-serverd and ipv6 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25049,25091#msg-25091 Nothing unusual here: root@earth:/var/cfengine/bin# cat /etc/debian_version 6.0.4 root@earth:/var/cfengine/bin# uname -a

Re: The right order

2012-02-29 Thread Marco Marongiu
Hi Mark, all Il 29/02/2012 14:45, Mark Burgess ha scritto: > there is nothing wrong with what you did, but it is probably a lot > more complicated than you need to make it. ...which is good news :) > I think you need to ask yourself a > question: > > 1. What is the use-case for having things i

Nova - priming svn repository?

2012-02-29 Thread D'Ausilio, John
Doing a new Nova installation from scratch. Set up a dedicated repository for cfengine, got it connected, but it's not clear what cfengine is expecting or what it puts into subversion. Seems like a sensible thing to do would be to import the masterfiles directory into the repository? ##

CFEngine Help: Re: CFEngine Help: multihomed cf-serverd and ipv6

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: multihomed cf-serverd and ipv6 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25049,25086#msg-25086 The client is a fresh install and matches the same OS and patch level as every other host in this environment. (Debian, Sq

CFEngine Help: Re: CFEngine Help: multihomed cf-serverd and ipv6

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: multihomed cf-serverd and ipv6 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,25049,25085#msg-25085 I used to use this at the university, with no issues -- as all infrastructure was over ipv6. Since then there has not been any ch

CFEngine Help: Re: CFEngine Help: multihomed cf-serverd and ipv6

2012-02-29 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: multihomed cf-serverd and ipv6 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25049,25084#msg-25084 No ideas? Should I head over to bug reports? ___ Help-cfengine mailing list H

Re: Is source RPM available for prebuilt community pacakges?

2012-02-29 Thread Kaiwang Chen
2012/2/29 Kaiwang Chen : > Hi all, > > > The binaries are good, and I'd like to get into some details. I am > interested in the package for RHEL5 x86_64. > looking for version 3.2.1. > > Thanks, > Kaiwang Thanks, Kaiwang ___ Help-cfengine mailing list H

Is source RPM available for prebuilt community pacakges?

2012-02-29 Thread Kaiwang Chen
Hi all, The binaries are good, and I'd like to get into some details. I am interested in the package for RHEL5 x86_64. Thanks, Kaiwang ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine