It appears that cfagent does something funky when it encounters HERE documents in shellcommands:
"/bin/cat > /tmp/heretest <<IGNORED HERE doc test foo IGNORED" gives fbsd54-bld1:/tmp> sudo cat heretest HERE doc test foo IGNOREDfbsd54-bld1:/tmp> However, if I just omit the terminator string, it works: "/bin/cat > /tmp/heretest <<IGNORED HERE doc test foo " fbsd54-bld1:/tmp> sudo cat -etv /tmp/heretest HERE doc test$ foo$ fbsd54-bld1:/tmp> Is this the expected behavior? -- David Carmean Network Appliance, Inc +1-408-822-6565 (ph) 495 E. Java Drive +1-408-822-4577 (fax) Sunnyvale, CA 94089 _______________________________________________ Bug-cfengine mailing list Bug-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cfengine