On 12/09/2010 01:43 PM, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: silly cfengine trick #! > Author: matter > Link to topic: https://cfengine.com/forum/read.php?3,19692,19692#msg-19692 > > Have you ever thought, "Gee, I love the power of cfengine syntax, I just wish > I could script it like perl or shell script." Well, what's stopping you. > > > % cat hello.cf > #!/var/cfengine/bin/cf-agent -Kf > [...] > % ./hello.cf > R: Hello, world
This is awesome. Brilliant idea - now I can reuse all my Cfengine snippets without having to rewrite the same thing in shell. I love it. Jonathan _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine