cookbook 'justinaiken_dotfiles', '~> 0.0.3'
justinaiken_dotfiles (3) Versions 0.0.3 Follow0
Installs+configures Justin Aiken's dotfiles
cookbook 'justinaiken_dotfiles', '~> 0.0.3', :supermarket
knife supermarket install justinaiken_dotfiles
knife supermarket download justinaiken_dotfiles
justinaiken_dotfiles
This is a cookbook to install and sets up my dotfiles.
- Installs ZSH, and sets it as the shell
- Installs vim
- Installs oh-my-zsh
- Installs and syncs my dotfiles
Supported Platforms
- Debian-based Linuxes
- Tested on Ubunutu 12.04
- Tested on Ubunutu 14.04
Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['justinaiken_dotfiles']['oh_my_zsh_repository']</tt></td>
<td>String</td>
<td>Which repo to install oh-my-zsh from</td>
<td><tt>https://github.com/robbyrussell/oh-my-zsh.git</tt></td>
</tr>
<tr>
<td><tt>['justinaiken_dotfiles']['oh_my_zsh_revision']</tt></td>
<td>String</td>
<td>Which ref of oh-my-zsh to use</td>
<td><tt>master</tt></td>
</tr>
<tr>
<td><tt>['justinaiken_dotfiles']['git_repository']</tt></td>
<td>String</td>
<td>Which repo to install dotfiles from</td>
<td><tt>https://github.com/JustinAiken/dotfiles.git</tt></td>
</tr>
<tr>
<td><tt>['justinaiken_dotfiles']['git_revision']</tt></td>
<td>String</td>
<td>Which ref of dotfiles to use</td>
<td><tt>master</tt></td>
</tr>
<tr>
<td><tt>['justinaiken_dotfiles']['users']</tt></td>
<td>Array of String</td>
<td>List of usernames to get dotfiles treadment</td>
<td><tt>[]</tt></td>
</tr>
</table>
Usage
Automatic
Add some users to [justinaiken_dotfiles][users]
and include justinaiken_dotfiles
in your node's run_list
:
{ "run_list": [ "recipe[justinaiken_dotfiles]" ] }
Manual
Declare a justinaiken_dotfiles
resource in your recipie:
justinaiken_dotfiles 'some_user' do install_vim true # Defaults to true, set to false if you want to skip installing vim install_zsh true # Defaults to true, set to false if you want to skip installing zsh switch_shell true # Defaults to true, set to false if don't want to change user's shell to zsh install_oh_my_zsh true # Defaults to true, set to false if you want to skip installing oh-my-zsh end
License and Authors
Author:: Justin Aiken
Dependent cookbooks
git >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.0.2
- Add some git submodule action
0.0.1
Initial release of justinaiken_dotfiles
Collaborator Number Metric
0.0.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: justinaiken_dotfiles/metadata.rb:1
FC065: Ensure source_url is set in metadata: justinaiken_dotfiles/metadata.rb:1
FC066: Ensure chef_version is set in metadata: justinaiken_dotfiles/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: justinaiken_dotfiles/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.3 passed this metric
Testing File Metric
0.0.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.3 failed this metric
0.0.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: justinaiken_dotfiles/metadata.rb:1
FC065: Ensure source_url is set in metadata: justinaiken_dotfiles/metadata.rb:1
FC066: Ensure chef_version is set in metadata: justinaiken_dotfiles/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: justinaiken_dotfiles/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.3 passed this metric
Testing File Metric
0.0.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.3 failed this metric
FC065: Ensure source_url is set in metadata: justinaiken_dotfiles/metadata.rb:1
FC066: Ensure chef_version is set in metadata: justinaiken_dotfiles/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: justinaiken_dotfiles/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.3 passed this metric
Testing File Metric
0.0.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.3 failed this metric
0.0.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number