Molule to manage Puppet control repository hosted on Github
Project description
Py Control Repository is SDK for Pyththon which allows developpers to manage a Puppet Control Repository based on GitHub.
Install
$ pip install py-control-repository
Usage
Get Puppetfile
control_repository = ControlRepository('myorga', 'my_control_repository', 'token')
puppet_environment = control_repository.get_environent('production')
puppetfile = puppet_environment.get_puppetfile()
Add a custom forge URL
puppetfile.set_forge_url('https://urlcustomforge.com/forge')
Add a forge module
puppetfile.add_forge_module('puppetlabs/apache', version='0.10.1')
Update a forge module
puppetfile.update_forge_module('puppetlabs/apache', '0.11.0')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for py_control_repository-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b65d6c982aaf270c9045f6cf8a64979b31a459260688080be8b3ed77117ff64 |
|
MD5 | 0e585ceca53fb319df1841e7d4579525 |
|
BLAKE2b-256 | fb137b265ca0b9a59e92509a2d857ec45fb8115cecbc4c170fc622014a87e30a |