promotion 1.4.4 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +3 -0
  2. data/lib/promotion/enforcer.rb +1 -0
  3. metadata +4 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == Version 1.4.5
2
+ - Fixed defect whereby a user with multiple groups would not be created
3
+
1
4
  == Version 1.4.4
2
5
  - Allow for database asking for a password
3
6
 
@@ -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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 4
10
- version: 1.4.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-04-04 00:00:00 Z
18
+ date: 2013-09-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: log4r