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"
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
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
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
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
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
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...
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