promotion 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/lib/promotion/enforcer.rb +1 -0
- metadata +4 -4
data/CHANGELOG
CHANGED
data/lib/promotion/enforcer.rb
CHANGED
@@ -68,6 +68,7 @@ class Enforcer
|
|
68
68
|
home = user.attributes["Home"] || "/home/#{name}"
|
69
69
|
shell = user.attributes["Shell"] || "/bin/ksh"
|
70
70
|
groups = user.attributes["Groups"] || ""
|
71
|
+
groups = groups.gsub(/\s+/, ",") # adduser needs comma-separated groups
|
71
72
|
create_user(uid, name, gid, uclass, gecos, home, shell, groups) unless user_exist?(uid, name)
|
72
73
|
}
|
73
74
|
@spec.elements.each("/Specification/Folders/Folder[@Clear='true']") { |folder|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: promotion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 5
|
10
|
+
version: 1.4.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Richard Kernahan
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-09-20 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: log4r
|