Forum: Cfengine Help
Subject: Re: cf3 commands error
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,17135,17136#msg-17136

Suppose to be like the following;


bundle agent test
{
 commands:
  "/bin/grep admin /etc/passwd >/tmp/passwd.txt"
--     contain => "shell";
++     contain => shell;
}

##### Body #####

body contain shell
{
 useshell => "true";
}


Cheers,
--Nakarin

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to