cookbook 'github-users', '= 0.1.3'
github-users (7) Versions 0.1.3 Follow1
Create users who has ssh-key on github and has dotfiles repo at his home dir
cookbook 'github-users', '= 0.1.3', :supermarket
knife supermarket install github-users
knife supermarket download github-users
github-users Cookbook
This cookbook makes easy to create users, who using ssh-public-keys on github.
And this cookbook also download and setup users "dotfiles" repo from github.
Requirements
git
openssl
Attributes
github-users::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['github-users']['accounts']</tt></td>
<td>Array</td>
<td>github account names</td>
<td> - </td>
</tr>
</table>
Usage
github-users::default
Just include github-users
in your node's run_list
:
and Add your account name of github.
{ "name":"my_node", "github-users": { "accounts":["satetsu888"] // thanks for allowing me to login your servers :p }, "run_list": [ "recipe[github-users]" ] }
Contributing
- Fork the repository on Github (https://github.com/satetsu888/cookbook-github-users)
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: satetsu888
Dependent cookbooks
git >= 0.0.0 |
openssl >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
github-users CHANGELOG
This file is used to list changes made in each version of the github-users cookbook.
0.1.0
- satetsu888 - Initial release of github-users
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Foodcritic Metric
0.1.3 failed this metric
FC002: Avoid string interpolation where not required: /tmp/cook/8c74f8d434b5c934c5d0977b/github-users/recipes/default.rb:20
FC002: Avoid string interpolation where not required: /tmp/cook/8c74f8d434b5c934c5d0977b/github-users/recipes/default.rb:21
FC040: Execute resource used to run git commands: /tmp/cook/8c74f8d434b5c934c5d0977b/github-users/recipes/default.rb:37
0.1.3 failed this metric
FC002: Avoid string interpolation where not required: /tmp/cook/8c74f8d434b5c934c5d0977b/github-users/recipes/default.rb:21
FC040: Execute resource used to run git commands: /tmp/cook/8c74f8d434b5c934c5d0977b/github-users/recipes/default.rb:37