Displaying 2 results from an estimated 2 matches for "not_include".
2013 Nov 06
4
augeas onlyif problem
...changes => [ "ins IdentityFile after
/files/home/user/.ssh/config/IdentityFile[last()]",
" set /files/home/user/.ssh/config/IdentityFile[last()]
~/.ssh/user2nd_rsa",
],
onlyif => "match /files/home/user/.ssh/config/IdentityFile not_include
~/.ssh/user2nd_rsa",
}
However it adds the line every puppet run. I''m wondering what I might be
doing wrong.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving em...
2012 Aug 29
1
augeas and cron.allow
...quot;,
# changes => "set line[last()+1] $name",
changes => "set 1[last()+1] $name",
# onlyif => "match /files/etc/cron.allow/* include ALL",
onlyif => "match *[.=''$name''] not_include $name",
# onlyif => "get 1[.=''ALL''] == ALL",
}
The line '' changes => "set 1[last()+1] $name",'' works like a charm but I am unable to get any onlyif to work.
If I use the onlyif in augtool I get this output,...