<html><head></head><body><div class="gmail_quote">Le 27 septembre 2014 16:41:54 CEST, Maxime Longuet <m.longuet@itika.net> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br />Hello, (again.. :)<br /><br />I continu test of ncf-builder.<br /><br />If i've a method "Command execution"<br /><br />In this method i'm put a : tar -xzf myfile.tgz<br /><br />the result of this command is "unknown" because he don't return code : command_execution_tar__xzf_myfile_tgz_kept    ??? is it ?<br /><br /><br />I must write  bash script for all command who i want ? <br /><br />Maxime<br /><br /><br /><hr /><br />rudder-users mailing list<br />rudder-users@lists.rudder-project.org<br /><a href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a><br /></pre></blockquote></div><br clear="all">Hi Maxime,<br>
<br>
For command execution, you need to use the full path of the command, so /bin/tar<br>
<br>
And a command execution never defines a _kept class suffix, but _repaired if it could execute it, or _error if it fails.<br>
The logic behind this is _kept means the state of the system was correct and nothing needed to be done. Executing a command is an action made, so it can't be _kept<br>
<br>
Does it help ?<br>
<br>
Nicolas<br>
-- <br>
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.</body></html>