Created
January 1, 2018 09:56
-
-
Save yeshess/dea1f56883564f4b1b0c9bcc86f2aea5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_templates: | |
token: | |
type: cloudify.rest.Requests | |
properties: | |
hosts: ['10.239.1.112'] | |
port: 443 | |
ssl: true | |
verify: false | |
interfaces: | |
cloudify.interfaces.lifecycle: | |
start: | |
inputs: | |
template_file: templates/get-token-template.yaml | |
params: | |
USERNAME: "admin" | |
PASSWORD: "admin" | |
baseline_config: | |
type: cloudify.rest.Requests | |
properties: | |
hosts: ['10.239.1.112'] | |
port: 443 | |
ssl: true | |
verify: false | |
interfaces: | |
cloudify.interfaces.lifecycle: | |
start: | |
inputs: | |
template_file: templates/baseline-config-template.yaml | |
params: | |
USERNAME: "admin" | |
PASSWORD: "admin" | |
TOKEN: { get_attribute: [token, token-content, token] } | |
relationships: | |
- type: cloudify.relationships.depends_on | |
target: token | |
baseline_networking: | |
type: cloudify.rest.Requests | |
properties: | |
hosts: ['10.239.1.112'] | |
port: 443 | |
ssl: true | |
verify: false | |
interfaces: | |
cloudify.interfaces.lifecycle: | |
start: | |
inputs: | |
template_file: templates/baseline-networking-START-template.yaml | |
params: | |
USERNAME: "admin" | |
PASSWORD: "admin" | |
TOKEN: { get_attribute: [token, token-content, token] } | |
stop: | |
inputs: | |
template_file: templates/baseline-networking-STOP-template.yaml | |
params: | |
USERNAME: "admin" | |
PASSWORD: "admin" | |
TOKEN: { get_attribute: [token, token-content, token] } | |
relationships: | |
- type: cloudify.relationships.depends_on | |
target: baseline_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment