Skip to content

Instantly share code, notes, and snippets.

/addnode.sls Secret

Created February 25, 2014 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/32ccf673e3752df1e5d2 to your computer and use it in GitHub Desktop.
Save anonymous/32ccf673e3752df1e5d2 to your computer and use it in GitHub Desktop.
#add a new node to solusvm
addnode:
cmd.run:
- name: "php /usr/local/solusvm/scripts/addnode.php --type={{ pillar['type'] }} --name={{ pillar['name'] }} --ip={{ pillar['ip'] }} --port={{ pillar['port'] }} --id={{ pillar['id'] }} --key={{ pillar['key'] }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment