Issue #2141 has been reported by Djelibeybi.
----------------------------------------
Bug #2141: Augeas resource bug with single and double quotes
http://projects.reductivelabs.com/issues/2141
Author: Djelibeybi
Status: Unreviewed
Priority: Urgent
Assigned to:
Category:
Target version:
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
-~----------~----~----~----~------~----~------~--~---