kuzushi 0.0.40 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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'"
|