arvados-login-sync 0.1.20151207150126 → 0.1.20160203112632
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/arvados-login-sync +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b09a5632485f1b707c4a17ce8d2b26df66a6ea72
|
4
|
+
data.tar.gz: a65684dc590557206367e579d8e28d6f025032d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f261ff7a469aafe67468c1e708185faabb4804f3924af255585ca48241e1e5535eb555116d9b550914b84846f876054692225c4a66b9e13331c410b412b47dad
|
7
|
+
data.tar.gz: 3158a41c548b1c52ff4bc6776409ad273eb097d9771eeef572709d58c355121da9a5335cbc497dabc55bb265f5b71045d6933dda1056fde2aef27633f84eceac
|
data/bin/arvados-login-sync
CHANGED
@@ -68,7 +68,6 @@ begin
|
|
68
68
|
logins.each do |l|
|
69
69
|
next if seen[l[:username]]
|
70
70
|
seen[l[:username]] = true if not seen.has_key?(l[:username])
|
71
|
-
@homedir = "/home/#{l[:username]}"
|
72
71
|
|
73
72
|
unless uids[l[:username]]
|
74
73
|
STDERR.puts "Creating account #{l[:username]}"
|
@@ -85,6 +84,7 @@ begin
|
|
85
84
|
out: devnull)
|
86
85
|
end
|
87
86
|
# Create .ssh directory if necessary
|
87
|
+
@homedir = Etc.getpwnam(l[:username]).dir
|
88
88
|
userdotssh = File.join(@homedir, ".ssh")
|
89
89
|
Dir.mkdir(userdotssh) if !File.exists?(userdotssh)
|
90
90
|
@key = "#######################################################################################
|
@@ -109,4 +109,3 @@ rescue Exception => bang
|
|
109
109
|
puts bang.backtrace.join("\n")
|
110
110
|
exit 1
|
111
111
|
end
|
112
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arvados-login-sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20160203112632
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: arvados
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 0.1.20150615153458
|
33
33
|
description: Creates and updates local login accounts for Arvados users. Built from
|
34
|
-
git commit
|
34
|
+
git commit b26951c6f488f28cf1ea5aac65c65311d0b573a4
|
35
35
|
email: gem-dev@curoverse.com
|
36
36
|
executables:
|
37
37
|
- arvados-login-sync
|