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