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


Chronological Thread 
  • From: Jay Buffington < >
  • To:
  • Subject: [chef] Re: Removing root's password results in 'ruby-shadow not installed' error.
  • Date: Tue, 3 May 2011 17:44:54 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=wbIfdKiPAQNxBgxBv0+4WCtKLtHHRB3imCiuDNfus46PRviTtYfCecJiIoRwYKJCTN +tEKsYSIXKmA9LQgiThncfqzKnsPHRRNywWfLLC6jAYQ4EWxBOYbtVVy0pLRk7Usxd/u f7MaLWRHkJGvmKa7htJTJXdSac5q+uKhhCVzY=

From http://wiki.opscode.com/display/chef/Resources
"In order to use the "password" attribute in Chef 0.5.6, you must have
"ruby-shadow" installed. You can get this by installing the debian
package "libshadow-ruby1.8"."

Jay

On Tue, May 3, 2011 at 5: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.

§