On Thursday, July 25, 2013 at 20:10, Joshua Timberman wrote:
JoshuaOn Thursday, July 25, 2013 at 19:42, Steven Danna wrote:
On 7/25/13 6:56 PM, Tim Smith wrote:Steven,Do all uses of node['fqdn'] need to be converted to @node['fqdn'] in erbs going forward?No. The only cookbooks that would need to change are those that directlyuse Erubis::Eruby like the sudo cookbook does:https://github.com/opscode-cookbooks/sudo/blob/master/providers/default.rb#L122We confirmed that the sudo cookbook is the only Opscode maintainedcookbook using this pattern.Cheers,Steven-TimOn Jul 25, 2013, at 6:38 PM, Steven Danna < > wrote:On 7/25/13 5:25 PM, Morgan Blackthorne wrote:I just tried bumping my nodes to 11.6.0 and got this error from a recipeusing the sudo LWRP. Any thoughts?https://gist.github.com/stormerider/6085044I just wrote that today, but it did work before I bumped the clients to11.6.0 from 11.4.4. And I'm not seeing any changes in the cookbook thatseem to apply to this.One of our developers found this issue today and has submitted a fix forthe sudo cookbook here:https://github.com/opscode-cookbooks/sudo/pull/29The sudo lwrp manipulates the template in a bit of a non-standard way:https://github.com/opscode-cookbooks/sudo/blob/master/providers/default.rb#L122-L123which was broken by some changes to how templates are handled internally:https://github.com/opscode/chef/commit/ca4cd1f830fae2fac3e2c18bbd2693b0caddcb33--~*~ StormeRider ~*~"Every world needs its heroes [...] They inspire us to be better than weare. And they protect from the darkness that's just around the corner."(from Smallville Season 6x1: "Zod")On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS--Steven DannaSystems Engineer, Opscode, IncGPG Key: http://stevendanna.github.com/downloads/code/public.key--Steven DannaSystems Engineer, Opscode, IncGPG Key: http://stevendanna.github.com/downloads/code/public.key
Archive powered by MHonArc 2.6.16.