cookbook 'ssh-auth', '= 0.1.1'
ssh-auth (5) Versions 0.1.1 Follow0
Configures ssh
cookbook 'ssh-auth', '= 0.1.1', :supermarket
knife supermarket install ssh-auth
knife supermarket download ssh-auth
ssh-auth-cookbook
Configures ssh and provides some utils for auth keys
Supported Platforms
RHEL, CentOs, Ubuntu and many other Linux flavours
Attributes
Key | Type | Description | Default |
---|---|---|---|
[:ssh][:install_dir] | String | Installation dir | "/etc/ssh" |
[:ssh][:authorized_keys_dir] | String | Authorize keys in relative to install_dir | "authorized_keys" |
[:ssh][:user] | String | User name | "root" |
[:ssh][:group] | String | User group |
Usage
ssh-auth::default
Include ssh-auth
in your node's run_list
:
{ "run_list": [ "recipe[ssh-auth::default]" ] }
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Locations
License and Authors
License:: Apache 2.0
Author:: phaninder (pasupulaphani@gmail.com)
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
0.1.0
Initial release of ssh-auth
Foodcritic Metric
0.1.1 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/attributes/default.rb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/attributes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/attributes/default.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/attributes/default.rb:11
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/definitions/ssh_key.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:18
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:19
FC015: Consider converting definition to a LWRP: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/definitions/ssh_key.rb:1
FC033: Missing template: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:16
0.1.1 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/attributes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/attributes/default.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/attributes/default.rb:11
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/definitions/ssh_key.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:18
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:19
FC015: Consider converting definition to a LWRP: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/definitions/ssh_key.rb:1
FC033: Missing template: /tmp/cook/964a974fd03411fc6f1f2542/ssh-auth/recipes/sshd.rb:16