Displaying 2 results from an estimated 2 matches for "path_exact".
2011 Nov 10
1
Managing /etc/fstab with puppet
...",
$opt = "",
$dump = "0",
$passno = "0"
) {
$key = "$spec/$file/$vfstype/$opt/$dump/$passno"
$context = "/files/etc/fstab"
$path_list = "spec = \"$spec\""
$path_exact = "*[spec=\"$spec\"]"
augeas { "fstab/$key":
context => "$context",
onlyif => "match $path_exact size==0",
changes => [
"rm $path_list",
"set $id/spec $spe...
2011 Mar 25
0
augeas match != bug
...9;'Closed'', but I am still hitting it with Puppet 2.6.7-1 on RHEL6 (ruby
1.8.7).
For /etc/security/limits.conf, got some error using almost the same code as
here:
http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?version=7
The only change is: onlyif => "match $path_exact size != 0" rather than:
onlyif => "match $path_exact size == 0".
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send...