Advertisement
Guest User

Untitled

a guest
Mar 6th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. ...
  2. ...
  3. node_templates:​
  4. ​...
  5. ...
  6. my_webserver_host:
  7. derived_from: cloudify.azure.nodes.Server
  8. properties:
  9. cloudify_agent:
  10. default:
  11. user: { get_input: ssh_username }
  12. vm_prefix:
  13. default: { get_input: vm_prefix }
  14. image_reference_offer:
  15. default: { get_input: image_reference_offer}
  16. image_reference_publisher:
  17. default: { get_input: image_reference_publisher}
  18. image_reference_sku:
  19. default: { get_input: image_reference_sku}
  20. vm_size:
  21. default: { get_input: vm_size}
  22. key_data:
  23. default: { get_input: key_data}
  24. subscription_id:
  25. default: { get_input: subscription_id}
  26. location:
  27. default: { get_input: location }
  28. client_id:
  29. default: { get_input: client_id}
  30. tenant_id:
  31. default: { get_input: tenant_id}
  32. ssh_username:
  33. default: { get_input: ssh_username}
  34. aad_password:
  35. default: { get_input: aad_password}
  36. install_agent:
  37. default: true
  38.  
  39.  
  40. my_webserver:
  41. type: ​cloudify.nodes.WebServer
  42. properties:
  43. port: 8000
  44. interfaces:
  45. cloudify.interfaces.lifecycle:
  46. start: scripts/startMyWebServer.sh
  47. stop: scripts/stopMyWebServer.sh
  48. relationships:
  49. target: my_webserver_host
  50. type: cloudify.relationships.contained_in
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement