arvados-login-sync 1.3.2.20190212163809 → 1.3.2.20190402172810
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 +3 -3
- 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: dc8a13dbc6f7100f20bac213e10205313c4c4a4f
|
4
|
+
data.tar.gz: 7871b87d85396eb58ded3b27d08b1c2e1787b02d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '058bf249f368f935ceffbd870a1e8c63f9d0fbad4a20b09d1e18573f3e55aa52b28f0e74a85903d1aa0139b296a2583fb8614390042927b146226f3c3b9858f6'
|
7
|
+
data.tar.gz: 7485b71a34a7500ae97d72c6508fec2b2b8727acee947876fda901228c04c9436d0ddd4866e75b82b49ad0333ba57e1c441d31fb429f48774972fc190db8a025
|
data/bin/arvados-login-sync
CHANGED
@@ -108,7 +108,7 @@ begin
|
|
108
108
|
"-G", groups.join(","),
|
109
109
|
l[:username],
|
110
110
|
out: devnull)
|
111
|
-
STDERR.puts "Account creation failed for #{l[:username]}: $?"
|
111
|
+
STDERR.puts "Account creation failed for #{l[:username]}: #{$?}"
|
112
112
|
next
|
113
113
|
end
|
114
114
|
begin
|
@@ -121,13 +121,13 @@ begin
|
|
121
121
|
|
122
122
|
@homedir = pwnam[l[:username]].dir
|
123
123
|
userdotssh = File.join(@homedir, ".ssh")
|
124
|
-
Dir.mkdir(userdotssh) if !File.
|
124
|
+
Dir.mkdir(userdotssh) if !File.exist?(userdotssh)
|
125
125
|
|
126
126
|
newkeys = "###\n###\n" + keys[l[:username]].join("\n") + "\n###\n###\n"
|
127
127
|
|
128
128
|
keysfile = File.join(userdotssh, "authorized_keys")
|
129
129
|
|
130
|
-
if File.
|
130
|
+
if File.exist?(keysfile)
|
131
131
|
oldkeys = IO::read(keysfile)
|
132
132
|
else
|
133
133
|
oldkeys = ""
|
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: 1.3.2.
|
4
|
+
version: 1.3.2.20190402172810
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02
|
11
|
+
date: 2019-04-02 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: 1.3.0
|
33
33
|
description: Creates and updates local login accounts for Arvados users. Built from
|
34
|
-
git commit
|
34
|
+
git commit d06ebce7585ee1841e855ec7cc5a00336e186bc8
|
35
35
|
email: gem-dev@curoverse.com
|
36
36
|
executables:
|
37
37
|
- arvados-login-sync
|