On Wed, 2009-04-08 at 08:03 -0400, Bryan Kearney wrote:
> Karl Bowden wrote:
> > Ok I've got it sorted now and I'll submit the recipe to the wiki after
> > somebody here reviews it as I'm only new to puppet.
> > 
> > After writing tests in ruby with the libaugeas-ruby bindings it turns
> > out the problem is that the bindings do not like set values to be
> > quoted.
> > 
> > Works:
> > set \"/dir[.='<%= name %>']\" <%= name %>
> > 
> > Does not work:
> > set \"/dir[.='<%= name %>']\" '<%= name %>'
> 
> Are these commands in augtool or commands in puppet? I want to see if 
> the puppet type is causing issues not in augtool.

I _think_ there's an issue with how the augeas type is parsing commands
from the changes property (see ticket #2141)

To fix that, the mini-language for the changes property needs to be
backed by a slightly more robust 'parser'; I think it should be told
explicitly the arguments that commands take, and scan them slightly
differently for paths and for strings. I attached a little standalone
program that does the scanning right (I'll also attach that to ticket
#2141)

David



--~--~---------~--~----~------------~-------~--~----~
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 email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to