Skip to content

Instantly share code, notes, and snippets.

@nherbaut
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save nherbaut/6f900c239ef5e8e7ccf5 to your computer and use it in GitHub Desktop.

Select an option

Save nherbaut/6f900c239ef5e8e7ccf5 to your computer and use it in GitHub Desktop.
startup:{
driver:"ssh",
conf : {
user:"root",
auth: "cert.pem",
action:"service redis restart"
}
},
startup:{
driver:"webservice",
conf : {
user : "admin",
auth : "oauth",
endpoint: vm1,
path : "services/redis",
method : "POST",
payload : "<actiontype>start</actiontype>"
}
}
,
startup:{
driver: "salt",
conf: {
script:"
redis:
service.running:
- enable: True
- reload: True
- watch:
- pkg: redis
"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment