-
-
Save kelchm/30439a82d70b7ea29c71 to your computer and use it in GitHub Desktop.
This file contains 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
salt-call event.fire_master '{"node": {"name": "TEST", "type": "openvz", "ip": "10.1.1.1", "port": "495", "id": "1234567890", "key": "12345"}}' 'solusvm/addnode' |
This file contains 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
solusvm_addnode: | |
cmd.state.sls: | |
- tgt: solusvm.bhsrv.net | |
- arg: | |
- solusvm.addnode-master | |
- 'pillar={ name: name, ip: ip, port: port, key: key, type: type, id: id, }' |
This file contains 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
solusvm_addnode: | |
cmd.state.sls: | |
- tgt: solusvm | |
- arg: | |
- solusvm.addnode-master | |
- 'pillar={ {% for value in data['data']['node'] %}{{ value }}: {{ value }}, {% endfor %} }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment