Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

justinaiken_dotfiles (3) Versions 0.0.2

Installs+configures Justin Aiken's dotfiles

Policyfile
Berkshelf
Knife
cookbook 'justinaiken_dotfiles', '= 0.0.2', :supermarket
cookbook 'justinaiken_dotfiles', '= 0.0.2'
knife supermarket install justinaiken_dotfiles
knife supermarket download justinaiken_dotfiles
README
Dependencies
Changelog
Quality 0%

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

This cookbook has no specified dependencies.

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

Foodcritic Metric
            

0.0.2 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/definitions/justinaiken_dotfiles.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/definitions/justinaiken_dotfiles.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/definitions/justinaiken_dotfiles.rb:32
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/definitions/justinaiken_dotfiles.rb:33
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/recipes/default.rb:10
FC015: Consider converting definition to a LWRP: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/definitions/justinaiken_dotfiles.rb:1
FC019: Access node attributes in a consistent manner: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/definitions/justinaiken_dotfiles.rb:21
FC019: Access node attributes in a consistent manner: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/definitions/justinaiken_dotfiles.rb:22
FC019: Access node attributes in a consistent manner: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/definitions/justinaiken_dotfiles.rb:32
FC019: Access node attributes in a consistent manner: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/definitions/justinaiken_dotfiles.rb:33
FC019: Access node attributes in a consistent manner: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/recipes/default.rb:10
FC023: Prefer conditional attributes: /tmp/cook/c3f946b54aec11712836bb0b/justinaiken_dotfiles/definitions/justinaiken_dotfiles.rb:19