Re: Re: Command execution if directory doesn't exist

2010-06-02 Thread Seva Gluschenko
Tom, this can be achieved using the same classes if_repaired body files: "/desired/path/." create => "true", perms => mo("700", "www"), classes => if_repaired("path_created"); ... commands: path_created:: "command_X"

Re: Re: Command execution if directory doesn't exist

2010-06-02 Thread tktucker
The concern is not the creation of the directory, which I agree can be achieved with the "create => true" syntax. My question is how can I get additional commands executed after noticing a directory doesn't exist or after I create the directory. On Jun 2, 2010 9:13pm, Daniel V Klein wrote: I

Re: Command execution if directory doesn't exist

2010-06-02 Thread Daniel V Klein
Is one of the commands perhaps to create the directory you want? Why not use the "create => true" attribute and just let the promises converge to the desired state? -Dan > --===1770191284== > Content-Type: multipart/alternative; boundary=0016e6470cf819ef39048813b6ae > > --0016e6470c

Command execution if directory doesn't exist

2010-06-02 Thread Tom Tucker
I am trying to write a promise config that will first check to see if a directory exists. If it doesn't the run these commands. I am able to achieve this with files incombination with the "classes => if_repaired(xyz);". Any suggestions? Thank you, CFengine 3 files: # directory example

Cfengine in a Day (training)

2010-06-02 Thread Mark Burgess
One-day training in Boston -- an updated quick start guide to Cfengine with the latest techniques and demos. This will take a new approach to getting started, based on the Community Open Promise Body Library, and standardized methods. You'll also get an insight into developments in Cfengine mov

Re: Upcoming talk involving cfengine at Facebook

2010-06-02 Thread Tom Cook
I'm not sure if video will be posted but if it is then I'll be sure to send a link to the list. tom On Jun 2, 2010, at 11:03 AM, Nicolas GOSSET wrote: > Hello Tom, > > Your talk seems to be really interesting, unfortunately I won't be here in > Portland tomorrow > > Did someone plan to rec

RE: Upcoming talk involving cfengine at Facebook

2010-06-02 Thread Nicolas GOSSET
Hello Tom, Your talk seems to be really interesting, unfortunately I won't be here in Portland tomorrow Did someone plan to record the talk and publish somewhere the video and slides? I would be so grateful. Regards, -- Nicolas GOSSET > -Message d'origine- > DeĀ : help-cfengine-boun...

Cfengine Orion Cloud Pack

2010-06-02 Thread Mark Burgess
Dear Cfengine user, Today we have launched the Cfengine Orion Cloud Pack. Get 30 days of support and more than 20 out-of-the-box services ready to run in the cloud. Go to http://cfengine.com/cloud Best regards, Cfengine Team ___ Help-cfengine mailing