Hi, Franz. Thanks for your reply. I don't see "silent" on the cf3-reference page you sited, but I do see "no_output".
Synopsis: true/false discard all output from the command Default value: false However, I don't want to discard the command output, I want to discard the informational message from cfengine. I don't want to see Informational messages unless I've explicitly set the -I switch. Maybe it's a bug that I get "I" messages when -I switch is not set. I opened https://cfengine.com/bugtracker/view.php?id=317 Best, Aleksey On Tue, Oct 19, 2010 at 8:42 PM, Frans Lawaetz <fr...@broadinstitute.org> wrote: > I think you probably want the "contain" option to that command. > > restartssh:: > "/sbin/service sshd restart", > contain => "silent"; > > http://www.cfengine.org/manuals/cf3-reference.html#contain-in-commands > "This is equivalent to piping standard output and error to /dev/null. " > > On 10/19/2010 10:51 PM, Aleksey Tsalolikhin wrote: > > Hi. Is there any way to turn off information reporting associated > with commands promises? (3.1.0b2) > > bundle agent hello > { > > commands: > > "/bin/echo Hello world!"; > > } > > Q: ".../bin/echo Hello": Hello world! > I: Last 1 QUOTed lines were generated by promiser "/bin/echo Hello world!" > > I only want to see "I" stuff if I run cf-agent with -I switch. > > Truly, > -at > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > > _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine