Cfengine Help: Re: Literature on Cfengine3

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Literature on Cfengine3 Author: d34m0nsi Link to topic: https://cfengine.com/forum/read.php?3,21598,21631#msg-21631 Thanks for the info, am looking forward to the book :) //Alfred ___ Help-cfengine mailing list Help-cf

RE: Cfengine Help: Re: Avoiding "Duplicate selection of value"

2011-04-27 Thread C R Ritson
Is there any chance of a change to the C code that implements "splayclass" to give me an easy way of selecting a random quarter-hour slot in each 6 hour shift? I too have had to up my schedule and reduce my default splay time to 5 minutes in cf-execd to allow the use of splayclass. Chris Ritson

Cfengine Help: Re: How to modify a global list

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: jonb1987 Link to topic: https://cfengine.com/forum/read.php?3,21589,21633#msg-21633 neilhwatson Wrote: --- > Jon, > > Where is this bundle? > edit_line => upgrade_cfexecd, (I

readstringlist and "Duplicate selection of value.. " error

2011-04-27 Thread M LZ
Hi, If readstringlist is used as shown here: http://www.cfengine.org/manuals/cf3-reference.html#Function-readstringlist it will give you an "Duplicate selection of value .." for the expected list of string variable. Looks like the list enclosing brackets {} are not needed, at least for 3.1.4 v

readfile function and newline

2011-04-27 Thread M LZ
Hi, The readfile function adds a newline character ( not present in the file content ) into the string variable returned. This may lead to non-convergent behaviour when the variable is used in other file editing. Tested in version 3.1.4 only. http://www.cfengine.org/manuals/cf3-reference.htm

Cfengine Help: YP NIS netgroup

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: YP NIS netgroup Author: jonb1987 Link to topic: https://cfengine.com/forum/read.php?3,21635,21635#msg-21635 In cfengine v2, you could directly use yp/nis netgroups, e.g. groups: my_hosts = ( +my_team_hosts ) I cannot find any reference to nis in the cfengine3 d

package_list_update_ifelapsed question/proposal

2011-04-27 Thread Bas van der Vlies
We have several software repositories at our site (debian, centos, ..) where we maintain are own software. This software is updated frequently and we are always in conflict with the package_list_update_ifelapsed setting. I do not want to maintain our own package settings and the one in the cfengi

Cfengine Help: List of copied files

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: List of copied files Author: rosin Link to topic: https://cfengine.com/forum/read.php?3,21638,21638#msg-21638 Hey there. Im a newbee to cfengine - but impressed about the prospects it brings. In my scenario i want to copy the files needed in a compact way. Therefore

Cfengine Help: Re: Package installation - trouble specifying environment variable

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Package installation - trouble specifying environment variable Author: ticketo Link to topic: https://cfengine.com/forum/read.php?3,21587,21639#msg-21639 Have you tried using environment in agent control? It would seem that this could be appropriately set here.

Cfengine Help: Re: Package installation - trouble specifying environment variable

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Package installation - trouble specifying environment variable Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21587,21640#msg-21640 I agree. Perhaps you could request a feature to add a package_environment command so that this could be

Cfengine Help: Re: Literature on Cfengine3

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Literature on Cfengine3 Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,21598,21641#msg-21641 I was asked to review the book in the works, and from what I saw, I was very discouraged. =( I asked that the publishers look at a c

Cfengine Help: Re: How to modify a global list

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21589,21642#msg-21642 Does that work? I don't think I've seen classes and report promises in an edit line bundle. If it does you've shown me something new. ___

Cfengine Help: Re: YP NIS netgroup

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: YP NIS netgroup Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21635,21643#msg-21643 If you run cf-promises in verbose mode you can see all of the classes the agent is a member of. Try that and see if an netgroups are listed. _

Cfengine Help: Re: List of copied files

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: List of copied files Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21638,21644#msg-21644 Welcome. Typically one would have a promise just for sshd_config and set a repair class should the promise repair the target file. Using that cla

Cfengine Help: Re: Literature on Cfengine3

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Literature on Cfengine3 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21598,21645#msg-21645 I have been reviewing it. I've only seen a few chapters. It is my hope that the next drafts will improve. It is concerning.

Re: Cfengine Help: Re: Literature on Cfengine3

2011-04-27 Thread Bas van der Vlies
> > I was asked to review the book in the works, and from what I saw, I was very > discouraged. =( I asked that the publishers look at a complete re-write. > I was also asked and i totally agree with you! -- * Bas van der V

Cfengine Help: Re: Literature on Cfengine3

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Literature on Cfengine3 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21598,21647#msg-21647 I did pitch a book to O'reilly but was rejected. I suppose I might have gone elsewhere but I really wanted to have O'reilly on my CV.

Cfengine Help: Re: Literature on Cfengine3

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Literature on Cfengine3 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,21598,21648#msg-21648 Agreed about the draft ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailm

Cfengine Help: Re: Updating Solaris Packages

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Updating Solaris Packages Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,21617,21649#msg-21649 Hi, My solution installs/updates a packages to a specific version. https://cfengine.com/forum/read.php?3,20818,20832#msg-20832 Wrong versi

Cfengine Help: Re: List of copied files

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: List of copied files Author: rosin Link to topic: https://cfengine.com/forum/read.php?3,21638,21650#msg-21650 Hm, I was afraid of this answer. This leads to an extreme expansion of my promise files Thanks for your help. Greetings, Moritz _

Cfengine Help: Re: List of copied files

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: List of copied files Author: mark Link to topic: https://cfengine.com/forum/read.php?3,21638,21651#msg-21651 Can you use a regular expression pattern to simplify your case? (Quick hint in passing) ___ Help-cfengine mai

Cfengine Help: Re: List of copied files

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: List of copied files Author: rosin Link to topic: https://cfengine.com/forum/read.php?3,21638,21652#msg-21652 Sorry. What do you mean with "Quick hint in passing"? ___ Help-cfengine mailing list Help-cfengine@cfengine.o

Cfengine Help: Re: List of copied files

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: List of copied files Author: mark Link to topic: https://cfengine.com/forum/read.php?3,21638,21653#msg-21653 I mean I don't really have time to say anything at length, as I am doing something else, but look up the possibility us using file patterns to match spec

Cfengine Help: Re: FW: Weird permissions with Cfengine.

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: FW: Weird permissions with Cfengine. Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,21620,21654#msg-21654 Hi, I don't know if this is the solution to my problem but Cfengine seem to remove read permission on files in /var were a ZFS ac

Cfengine Help: cf-serverd seem to leak memory in 3.1.4.

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: cf-serverd seem to leak memory in 3.1.4. Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,21655,21655#msg-21655 Hi, My policy server runs RHEL 5.6 and the Cfengine 3.1.4 rpm. I have have 141 Solaris 10 clients connecting. I deployed an upgr

Re: package_list_update_ifelapsed question/proposal

2011-04-27 Thread Erik Mouw
On Apr 27, 2011, at 11:36, Bas van der Vlies wrote: > We have several software repositories at our site (debian, centos, ..) > where we maintain are own software. This software is updated frequently and > we are always in conflict with the package_list_update_ifelapsed > setting. I do not want t

Cfengine Help: Re: YP NIS netgroup

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: YP NIS netgroup Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,21635,21656#msg-21656 A note of caution. At my previous workplace, we successfully ran cfengine v2, and had been using such NIS/YP from the hosts aspects of "netgroup" maps to

Cfengine Help: path_name fails in file_select

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: path_name fails in file_select Author: jonb1987 Link to topic: https://cfengine.com/forum/read.php?3,21658,21658#msg-21658 I'd be grateful for some help with the use of "path_name" in the "file_select" bundle... I'm trying to limit the select of files to everything

Cfengine Help: Re: YP NIS netgroup

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: YP NIS netgroup Author: jonb1987 Link to topic: https://cfengine.com/forum/read.php?3,21635,21659#msg-21659 davidlee Wrote: --- > A note of caution. At my previous workplace, we > successfully ran cfengine v2, a

Cfengine Help: Re: How to modify a global list

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: How to modify a global list Author: jonb1987 Link to topic: https://cfengine.com/forum/read.php?3,21589,21660#msg-21660 neilhwatson Wrote: --- > Does that work? I don't think I've seen classes > and report promi

Cfengine Help: Hostname change and keys

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Hostname change and keys Author: debheller Link to topic: https://cfengine.com/forum/read.php?3,21661,21661#msg-21661 Hello All, Just a short question today: When the hostname of a monitored system changes, all pertinent promises are updated on the policy server ar

Cfengine Help: Re: cf-serverd seem to leak memory in 3.1.4.

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-serverd seem to leak memory in 3.1.4. Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21655,21662#msg-21662 Have you been able to test the 3.1.5 beta releases? There was a memory leak with cf-serverd that was fixed. (I have also seen

Cfengine Help: Re: path_name fails in file_select

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: path_name fails in file_select Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21658,21663#msg-21663 Do you mean to 'and' that result or should it be an 'or'? What are you expecting? ___ Help-

Re: Cfengine Help: Re: Avoiding "Duplicate selection of value"

2011-04-27 Thread Michael Stevens
How would I go about having splayclass work with our current */15 run interval? On Apr 26, 2011, at 9:20 PM, Mark wrote: > No nothing is hardcoded, but the default exec time is 5 minutes. You are not > missing out. > > > Mark > > > On 27 Apr 2011, at 01:09, Michael Stevens wrote: > >> I wa

Re: Cfengine Help: Re: Avoiding "Duplicate selection of value"

2011-04-27 Thread Mark Burgess
Ah, I see what you mean. Sorry. You're right, one has to assume a resolution to do the hashing. Any reason why you can't up to 5 min resolution? On 27/04/11 19:48, Michael Stevens wrote: > How would I go about having splayclass work with our current */15 run > interval? > > On Apr 26, 2011, at

Cfengine Help: Re: Package installation - trouble specifying environment variable

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Package installation - trouble specifying environment variable Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21587,21666#msg-21666 Seems like a potentially more appropriate option would be to just use apt-get instead of aptitude. The aptitud

Re: Cfengine Help: Re: Avoiding "Duplicate selection of value"

2011-04-27 Thread Michael Stevens
We conceivably could, there's not really a reason other than it doesn't seem necessary to update that often. I may well change it just to get splayclass working. Any chance of getting the splayclass interval as a settable parameter? On Apr 27, 2011, at 11:54 AM, Mark Burgess wrote: > Ah, I see

Re: Cfengine Help: Re: Avoiding "Duplicate selection of value"

2011-04-27 Thread Mark Burgess
We can look into it if you file a feature request, but I'm not sure it's desirable. You can still do your updates every 15 mins even though the agent wakes up every 5 if you set the ifelapsed default to 15 mins or more. On 27/04/11 23:32, Michael Stevens wrote: > We conceivably could, there's n

Cfengine Help: Re: cf-serverd seem to leak memory in 3.1.4.

2011-04-27 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-serverd seem to leak memory in 3.1.4. Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,21655,21669#msg-21669 bbomgardner Wrote: --- > Have you been able to test the 3.1.5 beta release

Re: Cfengine Help: YP NIS netgroup

2011-04-27 Thread Mark Burgess
See http://www.cfengine.org/manuals/cf3-reference.html#Function-hostinnetgroup On 27/04/11 11:25, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: YP NIS netgroup > Author: jonb1987 > Link to topic: https://cfengine.com/forum/read.php?3,21635,21635#msg-21635 > > In cfengine v2, you