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

RSS

bash-it (8) Versions 0.0.2

Installs/Configures bash-it

Berkshelf/Librarian
Policyfile
Knife
cookbook 'bash-it', '= 0.0.2'
cookbook 'bash-it', '= 0.0.2', :supermarket
knife cookbook site install bash-it
knife cookbook site download bash-it
README
Dependencies
Changelog
Quality 0%

bash-it Build Status

Installs Bash it which is an easy way to make your bash shell awesome

Bash it Booby Theme (Dark)

Requirements

  • apt cookbook
  • yum cookbook
  • git cookbook

Recipes

default

Installs Git and will automatically configure Bash it for users specified in node['bash-it']['users']

This recipe is not nessesary so long as git is installed before using the bash_it_instance LWRP

Resources

bash_it_instance

To install Bash it for a user you simply put bash_it_instance <username> in your recipe. This is best placed in your users cookbook if you have one.

Default attributes for the bash_it_instance are stored as node attributes in the node['bash-it']['instance_defaults'] hash so that you can easily override the defaults

Examples


# Install Bash it for eddie's user

bash_it_instance 'edhurtig'

# Install Bash it for the root user

bash_it_instance 'root' do
  home '/root'
end

# Instance with a different theme

bash_it_instance 'edhurtig' do
  theme 'candy'
end

# the full set of options

bash_it_instance 'edhurtig' do
    home '/home/edhurtig-custom' # A custom home dir
    theme 'dulice' # Any Bash it theme
    git 'git@git.hurtigtechnologies.com' # Custom Git Server
    scm_check true # Whether to check for SCM continuously
    plugins %w( base history ruby  ) # An array of plugins that should be active
    aliases %w( git rails tmux ) # An array of aliases that should be active
    completions %w( git ssh tmux test-kitchen ) # An array of completions that should be active
end

Usage

Include this recipe in a wrapper cookbook:

depends 'bash-it', '~> 1.0'
include_recipe 'bash-it::default'

TODO

  • Fix node attributes are read only bug issue #1
  • Add recipe to install bash it globally

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests with kitchen test, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Author:: Eddie Hurtig (admin@hurtigtechnologies.com)

Dependent cookbooks

yum >= 0.0.0
apt >= 0.0.0
git >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Change Log for bash-it

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Unreleased

Changed

0.0.2 - YYY-MM-DD

Added

  • templates_cookbook attribute to bash_it_instance LWRP for wrapper cookbooks

Changed

  • Fixed Issue #1 where a stateful bug caused convergence failures

Removed

0.0.1 - 2015-06-06

Added

  • Initial Release w/ bash_it_instance LWRP

Foodcritic Metric
            

0.0.2 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/35b70c7b80e3feadd4279c81/bash-it/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/35b70c7b80e3feadd4279c81/bash-it/metadata.rb:1