No description, website, or topics provided.
Pull request Compare This branch is 40 commits behind moldit:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
docs
functionaltests
mold
twisted/plugins
.gitignore
.travis.yml
MANIFEST.in
Makefile
README.md
setup.py

README.md

Build Status

Docs: http://mold.rtfd.org/

mold

It really grows on you.

What mold is

mold is yet another configuration management tool.

Mold has 3 goals:

  1. use standards (like stdin, stdout, stderr and JSON)

  2. allow functions to be written in the language best suited to the problem

  3. stay out of the way (e.g. provide all raw logging information)

Quickstart

Install it (the virtual environment isn't necessary, but is nice):

virtualenv moldtest
source moldtest/bin/activate
pip install --upgrade Twisted Jinja2
git clone https://github.com/moldit/mold.git mold.git
cd mold.git
python setup.py install

Create a minion:

mold create-minion /tmp/minion

Inspect the state of a file:

echo '{"path": "/tmp/minion"}' | /tmp/minion/resources/file inspect

And see the state of the resource:

{"kind": "file", "group": "wheel", "ctime": 1351889197, "exists": true, "perms": "0557", "filetype": "dir", "mtime": 1351889197, "owner": "moldit", "path": "/tmp/minion", "atime": 1351896286}

Running the tests

After getting the code (see above):

trial mold

Building the docs

Install sphinx:

pip install --upgrade sphinx

Build the docs

cd docs && make html

The Mold Standard is separately maintained in the moldspec project.