1.0.1
Patrick Dayton
This cookbook installs/configures user and group accounts for your system, and sets up SSH access if desired. All users, groups, and user SSH keys are loaded from data bags.
There are 3 recipes that are included in the default recipe, but one is included via attribute:
users
groups
ssh
attribute
Your data bags are accessed via attributes. You'll need to set those accordingly with the following three attributes via role/override:
default['holmes-users']['data_bag']['users']
default['holmes-users']['data_bag']['groups']
default['holmes-users']['data_bag']['credentials']
Otherwise, SSH configuration options are set through the node['holmes-users']['ssh_config']
values. You can view this cookbook's attribute options inside the default attributes file, and can view their corresponding configuration options in the official ssh_config manual page.
This cookbook currently supports unit tests with ChefSpec. To run ChefSpec, use
$ chef exec rspec -fd
Linting is performed via Cookstyle. To run Cookstyle linting checks, use
$ chef exec cookstyle -D .