RE: splitting a "blank" line

2010-03-12 Thread Justin Lloyd
Ok, so I finally figure out how to accomplish my goal. It doesn't have to do with splitting a blank line, but rather where I do the work. I just needed to move the split and "blank" class creation into the edit_line bundles. I can probably modularize it with usebundle, but at

RE: splitting a "blank" line

2010-03-12 Thread Justin Lloyd
derstand how to use it? Thanks, Justin -Original Message----- From: Justin Lloyd Sent: Friday, March 12, 2010 10:28 AM To: help-cfengine@cfengine.org Subject: RE: splitting a "blank" line Can someone tell me if I'm missing something? I noticed that I could try to pr

RE: splitting a "blank" line

2010-03-12 Thread Justin Lloyd
stin Lloyd Sent: Thursday, March 11, 2010 7:01 PM To: help-cfengine@cfengine.org Subject: splitting a "blank" line I want to do the following (unimportant details omitted) and so far I'm stumped: bundle agent test { vars: "output" string => execresul

splitting a "blank" line

2010-03-11 Thread Justin Lloyd
I want to do the following (unimportant details omitted) and so far I'm stumped: bundle agent test { vars: "output" string => execresult("somecommand", "noshell"); "netgroups" slist => splitstring("$(output)", "\s+", 20); files: "/etc/passwd" edit_lin