Re: CFEngine Help: Check if host is in the list

2012-03-21 Thread Erik Mouw
; { classmatch("node-staging.*"), classmatch("st[0-9]") }; Or if your staging hosts can match the regexp node-staging.* : classes: "staging_profile" expression => classmatch("node-staging.*"); Regards, Erik -- Erik Mouw -- erik.m...@snow.nl Snow B.V. -- http://snow.nl/ ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: CFEngine Help: Bundle meta data

2012-03-15 Thread Erik Mouw
a string and use strcmp() to compare versions. Both ways have their pros and cons, but from the principle of least surprise a numerical version has the least amount of corner cases. Food for thought, hope this helps :-) Regards, Erik -- Erik Mouw -- erik.m...@snow.nl Snow B.V. -- http://snow.nl/ ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: Warning: upcoming removal of Berkeley DB backend

2012-03-15 Thread Erik Mouw
On Mar 13, 2012, at 10:41, Mikhail Gusarov wrote: On 03/13/2012 10:38 AM, Erik Mouw wrote: >> One of the advantages of CFengine over its competitors (puppet, chef) is that >> it is self contained and doesn't have many dependencies, which makes it easy >> to compile an

Re: Warning: upcoming removal of Berkeley DB backend

2012-03-13 Thread Erik Mouw
hef) is that it is self contained and doesn't have many dependencies, which makes it easy to compile and use on legacy systems. Adding a "modern" dependency removes this advantage. Please keep in mind there are a lot of legacy systems out there that still have to be managed. Regards, Er

Re: CFEngine Help: Re: CFEngine Help: Re: Server load and client installation

2012-03-06 Thread Erik Mouw
uld greatly exceed the time to write a script to do the same for 200 hosts, even if that required learning to write scripts. Seriously, if you think scripting is hard, then CFengine is not something for you as it requires writing scripts ("promises" in CFengine speak). Regards, Eri

Re: CFEngine Help: Re: Server load and client installation

2012-03-06 Thread Erik Mouw
failure in your setup and it is better to have several servers. That could be distribution servers which on their turn copy the policy from a master server, or a bunch of master servers who all get their configuration from shared storage. Regards, Erik -- Erik Mouw

Re: serving files from nfs filesystems

2011-06-01 Thread Erik Mouw
/path/to/file . 2. Cf-serverd runs as root. Your NFS server is configured to map root to nobody, and user nobody doesn't have access rights to /path/to/file . Regards, Erik -- Erik Mouw -- erik.m...@snow.nl Snow B.V. -- http://snow.nl/

Re: package_list_update_ifelapsed question/proposal

2011-04-27 Thread Erik Mouw
lled. Regards, Erik -- Erik Mouw -- erik.m...@snow.nl Snow B.V. -- http://snow.nl/ ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-11 Thread Erik Mouw
f works for the "configure" part, but the "make" command goes into an endless (well, I've let it run for 10 minutes) "re-configure" loop. Not a lucky shot, let's blame the monday morning effect :) Regards, Er

Re: Problems with cf-serverd on policy host

2011-03-30 Thread Erik Mouw
lowconnects => { "127.0.0.1" , "192.168.144.0/21" }; > > For now all my problems are gone. Do you use CIDR notation for the admit > rules? I see the same, Bas: I have allowconnects => { "127.0.0.1", "10.201.124.0/24" }. Once I change that to 10.201.124.* the connection errors go away. Regards, Erik -- Erik Mouw -- erik.m...@snow.nl Snow B.V. -- http://snow.nl/ ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: mac os x binaries

2011-02-28 Thread Erik Mouw
t;cfengine3" and not "cfengine". Regards, Erik -- Erik Mouw -- erik.m...@snow.nl Snow B.V. -- http://snow.nl/ ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: Cfengine Help: Cfengine client setup howto

2011-02-04 Thread Erik Mouw
Op 4 feb. 2011 om 12:04 heeft no-re...@cfengine.com het volgende geschreven: > Forum: Cfengine Help > Subject: Cfengine client setup howto > Author: kenneho > Link to topic: https://cfengine.com/forum/read.php?3,20442,20442#msg-20442 > > Hi all, > > > I'm about to play around with Cfengine 3 co

Re: Cfengine Help: Re: allowconntect, trustkeysfrom and admit syntax

2011-02-03 Thread Erik Mouw
fengine 3.1.4 no longer -generates- the stray keys, but it still reads them and it still causes all kind of authentication problems. Regards, Erik -- Erik Mouw -- erik.m...@snow.nl Snow B.V. -- http://snow.nl/ ___ Help-cfengine mailing list Help-cfe

Re: Strange error message in cfengine 3.1.2

2011-01-17 Thread Erik Mouw
ppid,pgid,pcpu,pmem,vsz,ni,stat,stime,time,args",/* aix */ - "-eo user,pid,ppid,pgid,pcpu,pmem,vsz,pri,rss,nlwp,stime,time,args", /* linux */ + "-eo user,pid,ppid,pgid,pcpu,pmem,vsz,pri,rss,thcount,stime,time,args", /* linux */ "-eo user,pid,ppid,p

Re: Strange error message in cfengine 3.1.2

2011-01-13 Thread Erik Mouw
ing 'cf-agent -v' by hand the error message got away, and now when cf-agent is started by cf-execd again the error also no longer appears. Erik > M > > On 01/13/2011 10:38 AM, Erik Mouw wrote: >> On Jan 13, 2011, at 10:35, Eystein Måløy Stenberg wrote: >> >&

Re: Strange error message in cfengine 3.1.2

2011-01-13 Thread Erik Mouw
3.1.2, so whatever it is, it has not been fixed properly or it pops up on a different place. Regards, Erik > -- > Regards > Eystein > > On 01/13/2011 10:04 AM, Erik Mouw wrote: >> Hi all, >> >> I'm writing a promise to keep a nameserver and a locking daemon for a

Strange error message in cfengine 3.1.2

2011-01-13 Thread Erik Mouw
$(cadpackage_path)/$(lockd) -setuid $(runas)"; reports: restart_nameserver:: "Restarted Cadpackage nameserver"; restart_lockd:: "Restarted Cadpackage locking daemon"; } body action cadpackage_check { ifelapsed =