[rudder-users] ncf builder
Maxime Longuet
m.longuet at itika.net
Sat Sep 27 22:47:09 CEST 2014
Humm not really :(
ok for full path, my command works. But rudder says state : unknown
How do you says if is _repaired or _error ?
If you have link for reading documentation, i'm working before ask maybe stupid question :)
Le 27 sept. 2014 à 18:08, Nicolas Charles <nicolas.charles at normation.com> a écrit :
> Le 27 septembre 2014 16:41:54 CEST, Maxime Longuet <m.longuet at itika.net> a écrit :
>
> Hello, (again.. :)
>
> I continu test of ncf-builder.
>
> If i've a method "Command execution"
>
> In this method i'm put a : tar -xzf myfile.tgz
>
> the result of this command is "unknown" because he don't return code : command_execution_tar__xzf_myfile_tgz_kept ??? is it ?
>
>
> I must write bash script for all command who i want ?
>
> Maxime
>
>
>
> rudder-users mailing list
> rudder-users at lists.rudder-project.org
> http://www.rudder-project.org/mailman/listinfo/rudder-users
>
> Hi Maxime,
>
> For command execution, you need to use the full path of the command, so /bin/tar
>
> And a command execution never defines a _kept class suffix, but _repaired if it could execute it, or _error if it fails.
> 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
>
> Does it help ?
>
> Nicolas
> --
> Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.
More information about the rudder-users
mailing list