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


Chronological Thread 
  • From: "Jason J. W. Williams" < >
  • To:
  • Subject: [chef] Removing root's password results in 'ruby-shadow not installed' error.
  • Date: Tue, 3 May 2011 18:36:35 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q7NM4D2S1U+CqUru2YcBmqG9DDOluUupoA7E/G6tTeDSW0ZR7SfvpSuwsWORPQHu2D 9gCjlvGKwHwMIxdg1UaJTGZYM7HLgVzjjYdI3Kmu1eUBpwhAgcEcKSozM/vc5nGoXzr/ 6IKuiDGBvHg8SfvVvn6eTFrTr7qI3s+a4z9ds=

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.

§