Jclouds resources model provider for RunDeck
Java Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
cgi
rundeck-jclouds
.gitignore gitignore Feb 22, 2011
Readme.md

Readme.md

rundeck-jclouds: jclouds resource model provider for RunDeck.

Work in progress..

Build

cd rundeck-jclouds
mvn package

Execute

Create "provider.properties" file to specify Jclouds provider name and access credentials, for example:

provider= aws-ec2
accessKey= [access key]
secretKey = [secrete key]

(You can test with stub using file rundeck-jclouds/src/test/resources/stubprovider.properties)

  1. run: java -jar rundeck-jclouds/target/rundeck-jclouds-1.0-SNAPSHOT-jar-with-dependencies.jar rundeck-jclouds/src/test/resources/stubprovider.properties rundeck-jclouds/src/test/resources/test-mapping.properties xml

This will generate XML formatted RunDeck resources from 10 jclouds stub instances:

<?xml version="1.0" encoding="UTF-8"?>

<project>
  <node type="Node" osFamily="centos" tags="webserver" hostname="144.175.1.10" username="root" name="webserver-7d9" osVersion="5.5" osName="stub centos true" description="Node 10 (webserver-7d9) : [] imageid: 6"/>
  <node type="Node" osFamily="centos" tags="webserver" hostname="144.175.1.2" username="root" name="webserver-d30" osVersion="5.5" osName="stub centos true" description="Node 2 (webserver-d30) : [] imageid: 6"/>
  ...
</project>

usage: <provider.properties> <mapping.properties> <format(xml/yaml)> [output file]