solokit 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 0.1.8
2
+
3
+ Support for a "home" option for each user. Will now create a group for each user if its missing.
4
+
1
5
  0.1.7
2
6
 
3
7
  Support selecting the old version of configs when running apt-get upgrade.
data/Gemfile.lock CHANGED
@@ -1,13 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- solokit (0.0.2)
4
+ solokit (0.1.7)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- activesupport (3.0.9)
10
+ activesupport (3.2.3)
11
+ i18n (~> 0.6)
12
+ multi_json (~> 1.0)
13
+ i18n (0.6.0)
14
+ multi_json (1.3.2)
11
15
 
12
16
  PLATFORMS
13
17
  ruby
@@ -4,6 +4,9 @@ if node[:users]
4
4
 
5
5
  node[:users].keys.each do |username|
6
6
  config = node[:users][username]
7
+
8
+ group username do
9
+ end
7
10
  user username do
8
11
  comment config[:comment]
9
12
 
@@ -1,3 +1,3 @@
1
1
  module Solokit
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
@@ -41,7 +41,7 @@ module Solokit
41
41
  :users => env_users.inject({}) { |h, user|
42
42
  h[user] = {
43
43
  :password => (@users[user] || {})["hash"] || @default_hash,
44
- :home => (user == 'root' ? '/root' : [ @opts[:home], user ].join('/')),
44
+ :home => @users[user]["home"] || (user == 'root' ? '/root' : [ @opts[:home], user ].join('/')),
45
45
  :hidden_home => !!(@users[user] || {})["hidden_home"]
46
46
  }; h
47
47
  },
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solokit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Joakim Kolsj\xC3\xB6"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-06 00:00:00 +02:00
18
+ date: 2012-04-19 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  requirements: []
140
140
 
141
141
  rubyforge_project:
142
- rubygems_version: 1.6.2
142
+ rubygems_version: 1.5.3
143
143
  signing_key:
144
144
  specification_version: 3
145
145
  summary: A toolkit for provisioning (ubuntu-)servers using chef-solo.