<commit_before>[![Build Status](https://travis-ci.org/aiming-cookbooks/github-pubkey.png?branch=master)](https://travis-ci.org/aiming-cookbooks/github-pubkey)

github-pubkey cookbook
=============

Fetch public keys into authorized_keys via github

Description
===========

This cookbook fetches public keys into authorized_keys via github API (like https://github.com/udzura.keys)

May this work on these platforms:

* Ubuntu
* Debian
* CentOS 6
* Amazon Linux

Please report me if not.

Requirements
============

none.

Attributes
==========

* `node['github-pubkey']['members'] = %w(udzura akubi)` - Sets operators' github account
* `node['github-pubkey']['username'] = 'ops'` - Sets OS username of the operator. `authorized_keys` will be installed to his `~/.ssh`
* `node['github-pubkey']['home_path'] = '/home/ops'` - Sets home directory where `authorized_keys` will be installed

`node['github-pubkey']['username']` or `node['github-pubkey']['home_path']` must be specified.

Recipes
=======

default
-------

Installs/updates `authorized_keys` via github API.

Resources/Providers
===================

`#=> nil`

License
=======

MIT License; See `LICENSE`

<commit_msg>Add a Bitdeli badge to README<commit_after>[![Build Status](https://travis-ci.org/aiming-cookbooks/github-pubkey.png?branch=master)](https://travis-ci.org/aiming-cookbooks/github-pubkey)

github-pubkey cookbook
=============

Fetch public keys into authorized_keys via github

Description
===========

This cookbook fetches public keys into authorized_keys via github API (like https://github.com/udzura.keys)

May this work on these platforms:

* Ubuntu
* Debian
* CentOS 6
* Amazon Linux

Please report me if not.

Requirements
============

none.

Attributes
==========

* `node['github-pubkey']['members'] = %w(udzura akubi)` - Sets operators' github account
* `node['github-pubkey']['username'] = 'ops'` - Sets OS username of the operator. `authorized_keys` will be installed to his `~/.ssh`
* `node['github-pubkey']['home_path'] = '/home/ops'` - Sets home directory where `authorized_keys` will be installed

`node['github-pubkey']['username']` or `node['github-pubkey']['home_path']` must be specified.

Recipes
=======

default
-------

Installs/updates `authorized_keys` via github API.

Resources/Providers
===================

`#=> nil`

License
=======

MIT License; See `LICENSE`



[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/aiming-cookbooks/github-pubkey/trend.png)](https://bitdeli.com/free "Bitdeli Badge")


{'fraction_non_alphanumeric': 0.19594594594594594, 'fraction_numerical': 0.0027821939586645467, 'mean_word_length': 5.276807980049876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4451423', 'n_tokens_mistral': 822, 'n_tokens_neox': 783, 'n_words': 201}