Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

balanced-user

Build Status

Adding a new user

Welcome to Balanced! To get your SSH user created just update recipes/default.rb with a new balanced_user resource for yourself. If your Balanced and Github usernames are the same, you can just do:

balanced_user 'asmithee' do
  sudo true
  github_username 'asmithee'
end

Custom dotfiles

To add per-user dotfiles copy the file to templates/default/<username>/<filename> and add dotfiles %w{filename} to your balanced_user resource in recipes/default.rb.

Resources

balanced_user

The balanced_user resource defines a system user for a Balanced employee.

balanced_user 'username' do
  sudo true
  github_username 'username'
  ssh_keys ['ssh-rsa ...']
end
  • sudo – Does this user have sudo access. (default: false)
  • github_username – Github username to query for SSH keys. Set to your github username to enable. (default: false) (disabled)
  • ssh_keys – List of SSH keys to use in addition to auto-discovered keys. (default: [])

balanced_deploy_user

The balanced_user resource defines a deploy user for Balanced.

balanced_deploy_user 'username'

There are no attributes for balanced_deploy_user.

About

Chef cookbook to create users for Balanced

Resources

License

Packages

No packages published

Languages