[chef] Re: Re: 11.6.0 and sudo issue...


Chronological Thread 
  • From: Morgan Blackthorne < >
  • To: " " < >
  • Subject: [chef] Re: Re: 11.6.0 and sudo issue...
  • Date: Thu, 25 Jul 2013 18:41:36 -0700

Aha, thanks!

--
~*~ StormeRider ~*~

"Every world needs its heroes [...] They inspire us to be better than we are. 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


On Thu, Jul 25, 2013 at 6:38 PM, Steven Danna < " target="_blank"> > 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 recipe
> using the sudo LWRP. Any thoughts?
>
> https://gist.github.com/stormerider/6085044
>
> I just wrote that today, but it did work before I bumped the clients to
> 11.6.0 from 11.4.4. And I'm not seeing any changes in the cookbook that
> seem to apply to this.

One of our developers found this issue today and has submitted a fix for
the sudo cookbook here:

    https://github.com/opscode-cookbooks/sudo/pull/29

The 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-L123

which 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 we
> are. 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 Danna
Systems Engineer, Opscode, Inc
GPG Key: http://stevendanna.github.com/downloads/code/public.key





Archive powered by MHonArc 2.6.16.

§