I see the same results. 

[r...@unxxhd01 inputs]# cf-agent -If ./foo.cf 
 -> Executing '/bin/ls -l /home/nwatson/bin/foo.sh' 
...(timeout=-678,owner=-1,group=-1)
Q: ".../bin/ls -l /hom": -rwxr--r-- 1 nwatson essi 34 Mar 16 15:29 
/home/nwatson/bin/foo.sh
I: Last 1 QUOTEed lines were generated by promiser "/bin/ls -l 
/home/nwatson/bin/foo.sh"
I: Report relates to a promise with handle ""
I: Made in version 'not specified' of './foo.cf' near line 11
 -> Completed execution of /bin/ls -l /home/nwatson/bin/foo.sh
/home/nwatson/bin/foo.sh promises to be executable but isn't
I: Report relates to a promise with handle ""
I: Made in version 'not specified' of './foo.cf' near line 13
/home/nwatson/bin/foo.sh promises to be executable but isn't
I: Report relates to a promise with handle ""
I: Made in version 'not specified' of './foo.cf' near line 13
/home/nwatson/bin/foo.sh promises to be executable but isn't
I: Report relates to a promise with handle ""
I: Made in version 'not specified' of './foo.cf' near line 13

source:
[r...@unxxhd01 inputs]# cat foo.cf
######################
body common control {
    bundlesequence => { "neil" };
}

bundle agent neil {

    commands:

        unxxhd01::
            "/bin/ls -l /home/nwatson/bin/foo.sh";

            "/home/nwatson/bin/foo.sh";
}


Sincerely,
--
Neil Watson
416-673-3465

CONFIDENTIALITY WARNING 
This communication, including any attachments, is for the exclusive use of 
addressee and may contain proprietary and/or confidential information. If you 
are not the intended recipient, any use, copying, disclosure, dissemination or 
distribution is strictly prohibited. If you are not the intended recipient, 
please notify the sender immediately by return e-mail, delete this 
communication and destroy all copies.

AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ 
Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage 
exclusif de la personne à laquelle il s’adresse et peut contenir de 
l’information personnelle ou confidentielle. Si le lecteur de ce message n’en 
est pas le destinataire, nous l’avisons par la présente que toute diffusion, 
distribution, reproduction ou utilisation de son contenu est strictement 
interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier 
électronique et supprimez ce message ainsi que toutes les pièces jointes.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to