Issue #2141 has been updated by lutter -.

I've rebased the patch and added a few additional code cleanups.

The result is in the dev/2141 branch at git://git.et.redhat.com/puppet.git 
(http://git.et.redhat.com/?p=puppet.git;a=shortlog;h=refs/heads/dev/2141)

I'd be more than happy to condense the patch series into fewer patches if 
wanted (I kept them very fine grained to make them more reviewable)

Also, let me know if you want me to rebase again if master changes
----------------------------------------
Bug #2141: Augeas resource bug with single and double quotes
http://projects.reductivelabs.com/issues/2141

Author: Avi Miller
Status: Re-opened
Priority: Urgent
Assigned to: Bryan Kearney
Category: 
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.24.8
Keywords: 


In Puppet 0.24.7, the following Augeas resource worked fine:

<pre>
augeas { "pam_remove_console":
   context => "/files/etc/pam.d/",
   changes => "rm */*[module='pam_console.so']",
   onlyif  => "match */*[module='pam_console.so'] size > 0",
}
</pre>

I've upgraded to Puppet 0.24.8 and I'm now getting the following error:

<pre>
(//Node[basenode]/pam/Augeas[pam_remove_console]) Failed to retrieve current 
state of resource: Error sending command 'rm */*[module=' with params 
["pam_console.so", "]"]/Command 'rm */*[module=' is not supported
</pre>

Looks like Puppet is breaking on the ' even though I opened with " -- and 
escaping the ' doesn't help.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to