Cfengine Help: Re: Making cf-runagent work

2011-06-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Making cf-runagent work Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22525,22621#msg-22621 Sauer, I don't see a problem with what you're doing (aside from a couple of places where sed sanitization munged more than it ought to have). I'm d

Re: ifvarclass when file does NOT exist

2011-06-26 Thread Nicolas Charles
On 24/06/2011 20:19, Aleksey Tsalolikhin wrote: > > commands: > > "/usr/bin/pecl install fileinfo" > > ifnotfunc => fileexists("/usr/lib64/php/modules/fileinfo.so"); You could simply do : classes: "fileinfo_to_install" not => fileexists("/usr/lib64/php/modules/file

Cfengine Help: Re: File_select help

2011-06-26 Thread no-reply
Forum: Cfengine Help Subject: Re: File_select help Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22617,22619#msg-22619 Neil, You'll need to tweak your path expressions; "/bin/" will only match files that live in /bin. Try "/.*/bin" or "/tmp/nwatson/.*/bin". You're also go

Cfengine Help: Client config examples (update.cf / failsafe.cf) for multiple Master Policy Servers

2011-06-26 Thread no-reply
Forum: Cfengine Help Subject: Client config examples (update.cf / failsafe.cf) for multiple Master Policy Servers Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,22618,22618#msg-22618 Hey guys I'm about to move from an architecture where one master policy serve