kuzushi 0.0.40 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/kuzushi.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.41
|
data/lib/kuzushi.rb
CHANGED
@@ -234,7 +234,7 @@ class Kuzushi
|
|
234
234
|
end
|
235
235
|
|
236
236
|
def process_users(user)
|
237
|
-
shell "useradd -m #{user}" ## this will just fail for users like 'root'
|
237
|
+
shell "useradd -m #{user.name}" ## this will just fail for users like 'root'
|
238
238
|
(user.authorized_keys || []).each do |key|
|
239
239
|
task "add authorized_key for user #{user.name}" do
|
240
240
|
shell "su - #{user.name} -c 'mkdir -p .ssh; echo \"#{key}\" >> .ssh/authorized_keys; chmod -R 0600 .ssh'"
|