cookbook 'bash-it', '= 0.0.1'
bash-it (8) Versions 0.0.1 Follow0
Installs/Configures bash-it
cookbook 'bash-it', '= 0.0.1', :supermarket
knife supermarket install bash-it
knife supermarket download bash-it
bash-it
Installs Bash it which is an easy way to make your bash shell awesome
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 [...] # An array of plugins that should be active aliases [...] # An array of aliases that should be active completions [...] # 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'
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests with
kitchen test
, ensuring they all pass - Submit a Pull Request using Github
License and Authors
Author:: Eddie Hurtig (admin@hurtigtechnologies.com)
Dependent cookbooks
git >= 0.0.0 |
apt >= 0.0.0 |
yum >= 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
- Improve argument against commit logs.
0.0.2 - YYY-MM-DD
Added
- Explanation of the recommended reverse chronological release ordering.
Changed
- Refer to a "change log" instead of a "CHANGELOG" throughout the site to differentiate between the file and the purpose of the file — the logging of changes.
Removed
- Remove empty sections from CHANGELOG, they occupy too much space and create too much noise in the file. People will have to assume that the missing sections were intentionally left out because they contained no notable changes.
0.0.1 - YYYY-MM-DD
Added
- This CHANGELOG file to hopefully serve as an evolving example of a standardized open source project CHANGELOG.
- CNAME file to enable GitHub Pages custom domain
- README now contains answers to common questions about CHANGELOGs
- Good examples and basic guidelines, including proper date formatting.
- Counter-examples: "What makes unicorns cry?"
Foodcritic Metric
0.0.1 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/ab093d4094b2b212ddee17d1/bash-it/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/ab093d4094b2b212ddee17d1/bash-it/metadata.rb:1
0.0.1 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/ab093d4094b2b212ddee17d1/bash-it/metadata.rb:1