Python tool to query resources from different sources and export them into a data structure that Rundeck can consume.
Installation
pip install rundeck-resources
Usage
$ rundeck-resources -h
usage: rundeck-resources [-h] [-v] [-l LOGGER] [--no-cache] [-V] config
Generates rundeck resources file from different API sources.
positional arguments:
config Configuration file.
optional arguments:
-h, --help show this help message and exit
-v, --verbose Verbosity level to use.
-l LOGGER, --logger LOGGER
The logger YAML configuration file.
--no-cache Do not use cache.
-V, --version Prints version.
The rundeck-resources requires an INI configuration file. You can see the example configuration in the example.ini.
Docker
There is a docker image tagged with the version of the released package.
ENV |
OPTIONAL |
DESCRIPTION |
|---|---|---|
ARGS |
True |
The command line arguments. |
CONFIG |
False |
The path to the configuration file. |
- Usage:
$ docker run -it -v ~/config/:/config \ -v ~/export/:/export \ -e ARGS="-vvv" -e CONFIG="/config/config.ini" \ elazkani/rundeck-resources
- Assumptions:
~/config/ holds the config.ini configuration file.
The configuration is set to export to the /export/ path.
/export will hold the resources exported file inside the container.
~/export/ exists on the host.
Importers
- rundeck-resources currently offer the following importers:
Chef: ChefImporter
Exporters
- rundeck-resources currently offers the following exporters:
YAML: YAMLExporter
Contributors:
Metadata
Release files for rundeck-resources 0.3.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rundeck_resources-0.3.9.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rundeck_resources-0.3.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.7 kB
Release files / rundeck_resources-0.3.9.tar.gz
| Download URL | rundeck_resources-0.3.9.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d22a4fecffa12f3d7c2f6431b38eaa68c7b8f1fe36bf7ab35279bac41dcc7f1
|
|
BLAKE2b-256 checksum How to use checksums |
a5b28885acc5677bf710b1f9dae1777baecd686bb456de24b34f45e390333238
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.1
|
Release files / rundeck_resources-0.3.9-py3-none-any.whl
| Download URL | rundeck_resources-0.3.9-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b246503f7ce1952c38129eea3eec2429a233daf328060f913f4ebf1739a4495
|
|
BLAKE2b-256 checksum How to use checksums |
5182255870356414424c81af8e2ed8ee5d9a9dadbe5f7017a0083e4f071cca0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.1
|