> On Sep 27, 8:44 pm, Jo Rhett wrote:
>> You can't do that, as the IF code is resolved by the puppet master before
>> delivering the compiled catalog to the client. It looks like you want to
>> just make a shell script, push it to the client and run it there.
On Sep 28, 2011, at 7:03 AM, jcbol
You can't do that, as the IF code is resolved by the puppet master before
delivering the compiled catalog to the client. It looks like you want to just
make a shell script, push it to the client and run it there.
File { myshellscript: …, notify->Exec['myshellscript'] }
Exec { mys
On Tue, Sep 27, 2011 at 10:52:24AM -0700, Damien Bridges wrote:
> Hi All,
>
> Does anyone know how to add bash code to the exec resource? I was
> thinking I could add it to the command section. I thought I could run
> the code after I put the link command and options in. However, it
> didn't wo
Hi All,
Does anyone know how to add bash code to the exec resource? I was
thinking I could add it to the command section. I thought I could run
the code after I put the link command and options in. However, it
didn't work. My bash code has 'if' statements with $ signs in it. I
want to move bl