Coder Social home page Coder Social logo

salt-contrib's Introduction

Salt Contrib

The Salt Contrib is a destination for modules developed by the community. Since Salt modules are nearly infinite in application not all of the modules developed will be shipped with the main salt application. Salt Contrib will hold modules that can be cleanly added to any of the modular components of Salt. This will also act as a gateway for new module development, generally it will be asked that pull requests for new modules be made against the salt-contrib git repo.

Development

image

You can symlink your salt-contrib against a development environment and run the tests against it.

All relevant files will be symlinked to the appropriate location in the target environment, so you can modify linked files and test without having to copy files back and forward. Running salt-contrib/link_contrib.py salt -u will remove all links leaving the salt repo clean.

The contrib.tests target runs only the tests from salt-contrib. A travis config is also included which will run the contrib tests if you enable it.

$ git clone git://github.com/saltstack/salt.git
$ git clone [email protected]:<me>/salt-contrib.git

$ salt-contrib/link_contrib.py salt

$ salt/tests/runtests.py -n contrib.tests -v

You can also link against a state folder so the modules are pushed out to clients via _modules, _states etc

$ salt-contrib/link_contrib.py /srv/salt

For grains, simply make a _grains folder in /srv/salt. Then run sync_grains.

$ saltutil.sync_grains

salt-contrib's People

Contributors

thatch45 avatar tf198 avatar sharan-monikantan avatar techhat avatar mgwilliams avatar utahdave avatar blambert555 avatar nmadhok avatar cro avatar h4ck3rm1k3 avatar mafrosis avatar terminalmage avatar cedwards avatar kmshultz avatar daemonthread avatar ranl avatar s0undt3ch avatar ihrwein avatar whiteinge avatar kjkuan avatar emilisto avatar pentabular avatar allanparsons avatar jaustinpage avatar thenewwazoo avatar cameronbraid avatar rawkode avatar jumping avatar garlandkr avatar mpilar avatar

Watchers

James Cloos 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.