I think, problems was resolved:
Exec with this "onlyif":
onlyif => "test `/root/test-new.sh ${veid} ${vetarif}` = 0 "
Run only if $veid=302:
Dec 15 19:12:19 vz-test puppetd[16426]: Starting catalog run
Dec 15 19:12:45 vz-test puppetd[16426]: (//Node[vz-test.local]/
Mod_class_ovzconfigs::Mod_de
Hi John,
Thank you for answer.
> For debugging your manifests, you could try using
>
> unless => "/bin/true"
>
> or
>
> unless => "/bin/false"
>
> to take that test script out of the picture.
Script, in "command" work fine.
> Speaking of the test script, are you sure your nodes are g
On Dec 13, 1:20 pm, sHaggY_caT wrote:
> Please help me get understand my error:
The debug output from trying to run these would probably help with
that, but I'll see whether I can provide at least a little insight
anyway.
> I have problems with onlyif/unless directives. Simple test work fine,