danrjohnson / pychef

Python library to interact with the Chef server API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyChef

A Python API for interacting with a Chef server.

Example

from chef import autoconfigure, Node

api = autoconfigure()
n = Node('web1')
print n['fqdn']
n['myapp']['version'] = '1.0'
n.save()

Running Tests

` python -m unittest discover `

Further Reading

For more information check out http://pychef.readthedocs.org/en/latest/index.html

About

Python library to interact with the Chef server API

License:Other


Languages

Language:Python 99.4%Language:Ruby 0.6%