Cfengine Help: Re: Instructions for building static cfengine 3 binaries on Linux?

2010-05-07 Thread forum
Forum: Cfengine Help Subject: Re: Instructions for building static cfengine 3 binaries on Linux? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17133,17134#msg-17134 The best I've been able to do is build Berkeley, PCRE and Cfengine together and install to the prefix of

Cfengine Help: Instructions for building static cfengine 3 binaries on Linux?

2010-05-07 Thread forum
Forum: Cfengine Help Subject: Instructions for building static cfengine 3 binaries on Linux? Author: jcoleman Link to topic: https://cfengine.com/forum/read.php?3,17133,17133#msg-17133 I've been able to build static cfengine 3 binaries on Solaris 8 without a lot of trouble, but I'm having trouble

Cfengine Help: SRC RPMs for linux binaries? / Long term plans for providing binary packages?

2010-05-07 Thread forum
Forum: Cfengine Help Subject: SRC RPMs for linux binaries? / Long term plans for providing binary packages? Author: jcoleman Link to topic: https://cfengine.com/forum/read.php?3,17132,17132#msg-17132 We're considering whether to use cfengine.com linux binaries currently provided free of charge a

RE: classmatch+canonify vs. classify

2010-05-07 Thread Justin Lloyd
Thanks, Mark. I realized I was doing this in four places (and update.cf has it in 2 places), so now I know I can simplify those instances to single function calls. Justin -Original Message- From: Mark Burgess [mailto:mark.burg...@iu.hio.no] Sent: Friday, May 07, 2010 1:32 AM To: Justin L

Re: Deleting unwanted packages

2010-05-07 Thread Сева Глущенко
Marc, at the first glance it looks like getting installed packages can be simplified a bit: bundle agent packages { vars: "pkg_list" string => execresult("/usr/bin/dpkg -l | /usr/bin/awk '/^ii/ {print $2}'", "useshell"); "installed" string => splitstring("$(pkg_list)", "[\n]" , "1")

Re: Deleting unwanted packages

2010-05-07 Thread Marc Baudoin
[ Replying to myself. ] Marc Baudoin écrit : > > I'm assessing Cfengine 3 (community edition) to manage a bunch of > servers. It seems to have all the required features but I can't > figure out how to manage packages (at least in the way I want). > I believe package management is quite new in C

Cfengine Help: Re: Setting perms on home directory files

2010-05-07 Thread forum
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17127,17128#msg-17128 I have done something like this to my machine. Firstly, create a list of users based on directories under /home then ensure ownershi

Cfengine Help: Setting perms on home directory files

2010-05-07 Thread forum
Forum: Cfengine Help Subject: Setting perms on home directory files Author: RIngersoll Link to topic: https://cfengine.com/forum/read.php?3,17127,17127#msg-17127 I have a requirement to ensure that all files in a user's home directory are owned by the owner of the home directory and have permissi

Cfengine Help: Re: dirent and d_type support in verify_packages.c (AIX)

2010-05-07 Thread forum
Forum: Cfengine Help Subject: Re: dirent and d_type support in verify_packages.c (AIX) Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,17121,17126#msg-17126 Hi, Thanks for reporting - removed that on AIX. -- Regards, Eystein ___

Re: classmatch+canonify vs. classify

2010-05-07 Thread Mark Burgess
Classify canonifies the literal string, but does not take regexes as args, but canonify would remove regexes, so the effect would be the same, as you point out. Justin Lloyd wrote: > Stupid question: Is there any substantive difference between these two > class definitions? > >"the_policy_h