This is a Resource Model Source plugin for RunDeck 2.5+ that provides PuppetDB nodes for your Rundeck server.
gradle build
Copy the rundeck-puppetdb-nodes-plugin-XXX.jar
file to the libext/
directory
inside your Rundeck installation.
Note: The client authentication to PuppetDB is done via SSL certificates. So Rundeck requires read permission to the puppet managed SSL certificate.
You can configure the node source via the webinterface
or via project.properties
:
resources.source.1.type=puppetdb
resources.source.1.config.ca_cert_pem=/var/lib/puppet/ssl/certs/ca.pem
resources.source.1.config.cache=300
resources.source.1.config.cert_pem=/var/lib/puppet/ssl/certs/myrundeckhost.pem
resources.source.1.config.facts=lsbdistdescription;lsbdistcodename;virtual
resources.source.1.config.private_key_pem=/var/lib/puppet/ssl/private_keys/myrundeckhost.pem
resources.source.1.config.puppetdb_host=mypuppetdb
resources.source.1.config.puppetdb_port=8081
resources.source.1.config.username=rundeck
For more details about node sources refer to the official Rundeck / Administrator Guide / Managing Node Sources
- Johannes Graf
rundeck-puppetdb-nodes-plugin is released under the MIT License. See the bundled license file for details.