[rudder-users] Multiple commands in "Enforce file content" directive

Matthieu CERDA matthieu.cerda at normation.com
Thu Apr 18 12:28:25 CEST 2013


Hello Olivier,

I see a potential lead here to help you: ou always need to use absolute paths on your commands because CFEngine strips the default paths by design. Do you use absolute or relative commands ?

And you should not have to use & on your commands, just listing then should be okay.


Olivier Desport <olivier.desport at ac-versailles.fr> a écrit :

>Hello,
>
>I use an "Enforce file content" directive with replacement. I need to 
>launch several commands after the replacement is done. Only the first 
>line of the textarea field is executed and a syntax like "command1 && 
>command2 && command3" gives the same result.
>
>Is there an issue ?
>
>Thanks.
>
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>rudder-users mailing list
>rudder-users at lists.rudder-project.org
>http://www.rudder-project.org/mailman/listinfo/rudder-users

-- 
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20130418/19de5a84/attachment.html>


More information about the rudder-users mailing list