Sha256: 39990603aaba1712de63129cb3c9c4d222bb7e63bd455de568c7a0b751078192

Contents?: true

Size: 376 Bytes

Versions: 26

Compression:

Stored size: 376 Bytes

Contents

include_recipe "ruby-shadow"

if node[:users]
  node[:users].keys.each do |username|
    config = node[:users][username]
    user username do
      comment config[:comment]
      home "/home/#{username}"
      shell "/bin/bash"
      password config[:password]
      supports :manage_home => true
      action [:create, :manage]
    end  
    
    add_keys username
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
solokit-0.1.17 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.16 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.15 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.14 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.13 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.12 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.11 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.10 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.9 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.8 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.7 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.6 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.5 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.4 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.3 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.2 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.1 cookbooks/upstream/users/recipes/default.rb
solokit-0.1.0 cookbooks/upstream/users/recipes/default.rb
solokit-0.0.9 cookbooks/upstream/users/recipes/default.rb
solokit-0.0.8 cookbooks/upstream/users/recipes/default.rb