Project

dosh

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Dev Ops Scripting
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

Dosh

Dev Ops Scripting.

Installation

$ gem install dosh

Requirements

Ruby 1.9.3 or greater.

Principles

  1. Scripts should be standalone.
  2. DRY, but self-sufficency and explictness are important too.
  3. Scripts should be re-runnable, with the same outcome. If something changes that can't be repeated, check for it and exit early.

Conventions

  • "ensure_< state >" checks if a state is true, generating a fault if not.
  • "install_< noun >" installs the given noun, to a completely "ready" state.
  • "meet_< noun >_< state >" takes the noun and attemps to achieve the given state.

Alternatives

Part inspiration comes from Babushka by Ben Hoskings - with some different design goals. I was bending babushka beyond what it was designed to do, hence dosh. If dosh doesn't work for you, Babushka might be what you are after.

You might also want to check out Chef or Puppet.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature) 2a. Make sure you have some tests or way of validating the feature.
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
  6. ... and thanks!

License

MIT Licensed. See LICENSE.txt