Cfengine Help: Re: Weird unset variable warning?

2011-03-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Weird unset variable warning? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21129,21131#msg-21131 I think this message is a red herring. The join seems to function in spite of the error. I'm curious as to why you are using an external

Cfengine Help: Re: maxconnections Formula (server side)

2011-03-14 Thread no-reply
Forum: Cfengine Help Subject: Re: maxconnections Formula (server side) Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21130,21132#msg-21132 http://www.cfengine.org/manuals/cf3-reference.html#splaytime-in-executor Maxconnections would be very variable considering available

Cfengine Help: Re: Weird unset variable warning?

2011-03-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Weird unset variable warning? Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21129,21133#msg-21133 Yes, it's a tenatively false error (though I honestly haven't looked to see if it works on the first or second pass). It just bugs me to have w

Re: Cfengine Help: Re: Weird unset variable warning?

2011-03-14 Thread Jesse Becker
On Mon, Mar 14, 2011 at 10:04:40AM -0400, no-re...@cfengine.com wrote: >Forum: Cfengine Help >Subject: Re: Weird unset variable warning? >Author: sauer >Link to topic: https://cfengine.com/forum/read.php?3,21129,21133#msg-21133 > >Yes, it's a tenatively false error (though I honestly haven't looked

Re: maxconnections Formula (server side)

2011-03-14 Thread Mark Burgess
You could maybe look at the Special Topics Guide on "Scale and Scalability" (pun intended). It is not complete yet, but it explains how many parallel threads you are likely to be able to support on a server, and helps you to think about how much density of traffic you want coming into a server a

Cfengine Help: Running cf-serverd as non-root

2011-03-14 Thread no-reply
Forum: Cfengine Help Subject: Running cf-serverd as non-root Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,21136,21136#msg-21136 Hi, I don't want the cf-serverd to run as root. It's a file-sharing service and the port is non-privileged so it should be ok run it as a

edit_files: delete_line and insert_lines sometimes give different results in static environment

2011-03-14 Thread David Lee
Using 3.1.4 community on CentOS 5.5. I'm writing a bundle to maintain the set of "server" lines in "/etc/ntp.conf". The cleanest way seems to be for that bundle to delete the lines and re-insert them. Almost invariably the result should be identical (no change) and so cfengine3 will detect th

Re: edit_files: delete_line and insert_lines sometimes give different results in static environment

2011-03-14 Thread Daniel V. Klein
A different solution would be to use delete_select and delete_if_not_match_from_list to eliminate the lines you don't want, then insert the ones you do. I am not saying this is better, but if you see different results (like, the problem doesn't "just happen" any more), then that'd help narrow

Cfengine Help: Re: Running cf-serverd as non-root

2011-03-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Running cf-serverd as non-root Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21136,21137#msg-21137 Who are you trying to secure from? Local or remote user? What are the end goals of your promises? Running non-root will limit this sev

Cfengine Help: Re: Running cf-serverd as non-root

2011-03-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Running cf-serverd as non-root Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,21136,21140#msg-21140 Hi, > Who are you trying to secure from? Local or remote user? Both. > What are the end goals of your promises? Running non-root will

Cfengine Help: Re: Running cf-serverd as non-root

2011-03-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Running cf-serverd as non-root Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21136,21141#msg-21141 Are you proposing that the agent with root privilege should fetch files from the server running as non-root? I'm having trouble visualiz

Re: Cfengine Help: Re: Weird unset variable warning?

2011-03-14 Thread Ted Zlatanov
On Mon, 14 Mar 2011 10:21:05 -0400 Jesse Becker wrote: JB> On Mon, Mar 14, 2011 at 10:04:40AM -0400, no-re...@cfengine.com wrote: >> Forum: Cfengine Help >> Subject: Re: Weird unset variable warning? >> Author: sauer >> Link to topic: https://cfengine.com/forum/read.php?3,21129,21133#msg-21133 >

Cfengine Help: Re: Cfengine Help: Re: Weird unset variable warning?

2011-03-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Weird unset variable warning? Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21134,21143#msg-21143 Jesse Becker Wrote: --- > On Mon, Mar 14, 2011 at 10:04:40AM -0400, > >Aut

Re: edit_files: delete_line and insert_lines sometimes give different results in static environment

2011-03-14 Thread Seva Gluschenko
David, if by occasion you experience concurrent cf-agent runs, there's a situation possible when one instance locks insert_lines promises and another one locks delete_lines promises. There were discussions with Mark about locking the whole file to prevent such undesired concurrency overlaps, and I

Cfengine Help: Re: 3.0.2 too old?

2011-03-14 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.0.2 too old? Author: regan99 Link to topic: https://cfengine.com/forum/read.php?3,20392,21145#msg-21145 I implemented the example posted by "zzamboni" and it's working great. I did tweak it a little bit to implement the GID for each new account a bit different

Re: edit_files: delete_line and insert_lines sometimes give different results in static environment

2011-03-14 Thread Mark Burgess
Thanks for reminding me about this. I was sure this had already been done. On 03/14/2011 09:05 PM, Seva Gluschenko wrote: > David, > > if by occasion you experience concurrent cf-agent runs, there's a > situation possible when one instance locks insert_lines promises and > another one locks dele