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
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
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
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
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
>
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'
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
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!
_
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
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
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.
_
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
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'
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
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
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"; }}}
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
>
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:"
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
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
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
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
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
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.
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
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
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
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
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?
##
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
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
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
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
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
34 matches
Mail list logo