Coder Social home page Coder Social logo

dosh's Introduction

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

dosh's People

Contributors

jonathannen avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.