[chef] Re: Removing root's password results in 'ruby-shadow not installed' error.


Chronological Thread 
  • From: Ian Marlier < >
  • To:
  • Subject: [chef] Re: Removing root's password results in 'ruby-shadow not installed' error.
  • Date: Tue, 3 May 2011 20:46:09 -0400

'Gem install ruby-shadow' on Ruby 1.8.  On 1.9 its trickier.  Check the branch at github under user apalmblad-  it builds and installs fine on an ubuntu system with Ruby 1.9 and build-essentials.

On May 3, 2011 8:36 PM, "Jason J. W. Williams" < "> > wrote:
> Hi,
>
> I'm trying to write a recipe that will create a default user and
> remove root's password on an Ubuntu 10.04 box. Creating the user (with
> password) works fine. However, when it hits this:
>
> user "root" do
> action :modify
> password "*"
> end
>
> I get this traceback about ruby-shadow not being installed:
> https://gist.github.com/954522
>
> I've tried setting the root password to an actual hash but I get the
> same error. Any help is greatly appreciated.
>
> -J



Archive powered by MHonArc 2.6.16.

§