Skip to content

Instantly share code, notes, and snippets.

@ahonor
Created July 31, 2012 16:44
Show Gist options
  • Save ahonor/3218363 to your computer and use it in GitHub Desktop.
Save ahonor/3218363 to your computer and use it in GitHub Desktop.
yana rundeck.xml
<!-- Sample XML to establish the minimum set of node types to support default usage of the -->
<!-- Rundeck rundeck-yana2-nodes-plugin (https://github.com/sharadr/rundeck-yana2-nodes-plugin) -->
<yana>
<attributes>
<attribute name="hostname" filter="String"/>
<attribute name="osArch" filter="String"/>
<attribute name="osFamily" filter="String"/>
<attribute name="osName" filter="String"/>
<attribute name="osVersion" filter="String"/>
<attribute name="username" filter="String"/>
</attributes>
<types>
<type name="node">
<description>Rundeck node (system/server) type</description>
<image>Node.png</image>
<attributes>
<attribute name="hostname" required="true"/>
<attribute name="osArch" required="false"/>
<attribute name="osFamily" required="false"/>
<attribute name="osName" required="false"/>
<attribute name="osVersion" required="false"/>
<attribute name="username" required="false"/>
</attributes>
</type>
</types>
<nodes>
<node name="centos62-rundeck-tomcat" type="node" tags="tag1,tag2,tag3">
<description>Sample node instance</description>
<attributes>
<attribute name="hostname" value="centos62-rundeck-tomcat"/>
<attribute name="osArch" value="amd64"/>
<attribute name="osFamily" value="unix"/>
<attribute name="osName" value="Linux"/>
<attribute name="osVersion" value="2.6.32-220.el6.x86_64"/>
<attribute name="username" value="tomcat"/>
</attributes>
</node>
</nodes>
</yana>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment