Ok,
I figured this out. I probably worded my issue badly but what i was
looking for is the following:
#this sets a variable at the entry[#] level
defvar syslog /files/etc/syslog.conf/*[ ./action/file = "/var/log/messages"]
#these two add in the new selector entries.
set $syslog/selector[last
>
> Ok,
>
> I figured this out. I probably worded my issue badly but what i was
> looking for is the following:
>
> #this sets a variable at the entry[#] level
> defvar syslog /files/etc/syslog.conf/*[ ./action/file =
> "/var/log/messages"]
>
> #these two add in the new selector entries.
> se
One more thing I found, I needed an onlyif for the above puppet line.
Here is a little further syntax
augeas { "syslog_local6none":
incl => "/etc/syslog.conf",
lens => "Syslog.lns",
changes => [
"defvar syslog *[ ./action/file = \"/var/log/messages\" ]",
"set \$sys