On Mon, 2009-08-03 at 16:03 -0400, Chad Huneycutt wrote:
> augeas { "/etc/exports-$vmname":
>                 context => "/files/etc/exports",
>                 changes => [
>                         "set dir[.='/boots/$vmname'] /boots/$vmname",
>                         "set dir[.='/boots/$vmname']/client $vmname",
>                         "set dir[.='/boots/$vmname']/client/option[1] rw",
>                         "set dir[.='/boots/$vmname']/client/option[2] sync",
>                         "set dir[.='/boots/$vmname']/client/option[3]
> no_root_squash",
>                 ],
> }
> 
> Those commands work find in augtool, and the problem withe resource
> type seems to be the single quotes around '/boots/$vmname'.  I tried
> removing the quotes, and that doesn't work in augtool or puppet
> (augtool doesn't error out, but the match doesn't occur properly, and
> the puppet type fails with a pretty useless error).

What happens ? Anything ?

David



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to