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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/arvados-login-sync +1 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35ada5bc0a1f6af857ea399f7e70bc83d6610da5
4
- data.tar.gz: 14bbf2edd6190c9633e7b2f8df1825438e2057f4
3
+ metadata.gz: b09a5632485f1b707c4a17ce8d2b26df66a6ea72
4
+ data.tar.gz: a65684dc590557206367e579d8e28d6f025032d2
5
5
  SHA512:
6
- metadata.gz: 8ad8ac7e3184cb7631ff29eccae8d5a2460a898c740ffa4dde7e1b71e10cf3f3c6b5cf729e3d48cae6bc9a24c42944c177395700da6e194ae9d7902bdcc8e5a1
7
- data.tar.gz: 75599bb67768083af7d6014ca867e8f504ca6cffd688553f3b0c245b12dd6fae1710ad231a17946a9acefedc7f1acaf7aa29b57098d794eb313f191b1d4d861d
6
+ metadata.gz: f261ff7a469aafe67468c1e708185faabb4804f3924af255585ca48241e1e5535eb555116d9b550914b84846f876054692225c4a66b9e13331c410b412b47dad
7
+ data.tar.gz: 3158a41c548b1c52ff4bc6776409ad273eb097d9771eeef572709d58c355121da9a5335cbc497dabc55bb265f5b71045d6933dda1056fde2aef27633f84eceac
@@ -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.20151207150126
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: 2015-12-07 00:00:00.000000000 Z
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 1a0c39586b5c73f083b7dad4d3017c5c4ffe5bf4
34
+ git commit b26951c6f488f28cf1ea5aac65c65311d0b573a4
35
35
  email: gem-dev@curoverse.com
36
36
  executables:
37
37
  - arvados-login-sync