Re: Is 'select_line_matching' broken?

2010-03-30 Thread Steve Barnes
roken (appended to end of file) after line2 = OK before line3 = OK after line3 = OK before line4 = OK after line4 = OK before line5 = OK after line5 = OK Attached is the promise.cf and cron.cf file if anyone else feels like giving it a try. Cheers Steve > > Works ok for me > > Steve Bar

Re: Is 'select_line_matching' broken?

2010-03-30 Thread Steve Barnes
of CFEngine and what operating environment did you manage to get this working correctly in? Cheers Steve > > Works ok for me > > Steve Barnes wrote: >> I'm trying to disable a few cron tasks by inserting an `exit 0` >> statement >> just after the shebang: >&

Re: iteration problem with execresult string assignment

2010-03-30 Thread Steve Barnes
Not sure what you mean by "iteration problems", but here's something similar that I use to ensure only a specific list of services are enabled for runlevel 3 in CentOS. HTH Steve -- bundle agent chkconfig { vars: # This is all that shoul

Is 'select_line_matching' broken?

2010-03-18 Thread Steve Barnes
Sorry, forgot to mention I'm using CF3.0.3 Cheers Steve ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Is 'select_line_matching' broken?

2010-03-18 Thread Steve Barnes
it 0 If I modify the promise to use `before_after => "before";` it does what I would expect: [r...@box]# cat /etc/cron.daily/mlocate.cron exit 0 #!/bin/sh nodevs=$(< /proc/filesystems awk '$1 == "nodev" { print $2 }') renice +19 -p $$ >/dev/null 2>&1 /usr/bin

Odd behaviour in 3.0.4 with set_variable_values

2010-03-08 Thread Steve Barnes
3.0.4 to confirm it wasn't residual incompatibility between 3.0.4 binaries in a 3.0.3 environment, but the behavior persists. I also tried adjusting the variable names to remove any possible ambiguity or naming conflicts, but that didn't help either. ...or is this all just because it's 1am on a weeknight? ;) Regards Steve ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: Cfengine 2.2.10 download with Commandline wget!

2010-03-08 Thread Steve Barnes
ry sysadmin ;) I'm happy to email you the versions you require as an attachment if that'll suit...? Steve > Thanks steve for the reply. > I can download vai broswer on another machine from the same links but my > commandline 'wget' can't get that. I get the followi

Re: Cfengine 2.2.10 download with Commandline wget!

2010-03-08 Thread Steve Barnes
e-2.2.10.tar.gz HTH :) Steve > Hi, > I'm trying to download 'Cfengine-2.2.10' via wget from > http://www.cfengine.org/downloads/cfengine-2.2.8.tar.gz  and > http://www.cfengine.org/tarballs/cfengine-2.2.10.tar.gz. But wget fails to > download it. > Is there any way

Re: Is it possible to make sure /etc/fstab mount points stay mounted with cfengine?

2010-03-07 Thread Steve Barnes
-num values for /etc/fstab. Perhaps I misunderstood the original question posted by Sean whom infact was asking about NFS management capabilities within CFEngine3? Thank you Steve > > Steve, > > not to belittle your efforts, but you should definitely use storage > promises to

Re: Is it possible to make sure /etc/fstab mount points stay mounted with cfengine?

2010-03-07 Thread Steve Barnes
Mark I guess I have to experience the rough to appreciate the smooth! Thanks for pointing out storage options, I'll update my configs to use them. Steve > > Steve, > > not to belittle your efforts, but you should definitely use storage > promises to simplify this. > >

Re: Is it possible to make sure /etc/fstab mount points stay mounted with cfengine?

2010-03-06 Thread Steve Barnes
s can provide you with a basis to implement your specific requirements :) Steve PS, I'm new to CFEngine; feedback is always appreciated! --- bundle agent fb_fstab { vars: # our list of partitions to add the noatime flag to. "noatime_partitions&quo

Indexing an array of slist?

2010-03-04 Thread Steve Barnes
y]" string => "$(foo[$(dynamic_value)][1])"; where `dynamic_value` is the output of an execresult. Is this possible or am I missing something obvious here? Referencing by scalar for the purposes of iteration doesn't seem to offer much help here, assuming I understand it corre

Documentation feedback from a CFEngine 3 newbie.

2010-02-09 Thread steve
and read it several times. Having done that I felt far more confident that I was starting on the right foot. That aside, I'm making good progress :) Thank you Steve ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: Package installation of RPMs - Too many arguments in embedded script

2006-07-14 Thread Steve Kemp
install \{\} \; That would split up the package installation to only attempt 20 at a time. Of course then you might have dependency problems if the first 20 packages depend on something to be installed in the next 20 .. Steve -- ___ Help-cfe

Re: help with cfengine for account management in very large environments

2006-06-06 Thread Steve Wray
Aaron wrote: [snip] > I guess I'm looking for suggestions on how to deal with the mess. It > seems like the obvious solution is migrating to LDAP or some kind of > equivalent. That seems daunting because I don't know how I would ever > manage a seamless transition on such a complex production netwo

USENIX 2006 in Boston is coming up

2006-05-19 Thread Nielsen, Steve
Is any planning on doing any birds of a feather discussions at usenix2006 in Boston? I am interested. Steve ___ Help-cfengine mailing list Help-cfengine@cfengine.org http://cfengine.org/mailman/listinfo/help-cfengine

Re: 2 system step-by-step how-to?

2006-04-24 Thread Steve Feehan
start guides that will get it up and running quicker, but in the long run you're going to want to read the tutorial so might as well do it now? [1] http://www.cfengine.org/docs/cfengine-Tutorial.html -- Steve Feehan ___ Help-cfengine mailing li

Re: [Cfengine] Configuration and Compilation Question

2006-03-28 Thread Steve Wray
Bas van der Vlies wrote: On Mar 28, 2006, at 5:50 PM, Brian E. Seppanen wrote: Somewhat of an offtopic question, but I ask this because I'm trying to create a debian package for distributing out a cfengine upgrade from 2.1.13 to 2.1.19p1. What i do is download the source debian package from

editfiles groups not working?

2006-03-26 Thread Steve Wray
Hi there, I'm sure that I must have missed something on the list, though I've searched the archives and googled a fair bit... but it seems that somewhere along the line groups in editfiles have become somewhat broken; I don't seem to be able to create a working BeginGroup... EndGroup stanza, I