Skip to content

hagna/mold

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Scala 0.3%