Advertisement
Guest User

Untitled

a guest
Mar 7th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. ...
  2. ...
  3. node_templates:​
  4. ​...
  5. ...
  6. my_webserver_host:
  7. type: 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_puppet_agent:
  41. type: cloudify.nodes.SoftwareComponent
  42. interfaces:
  43. cloudify.interfaces.lifecycle:
  44. install: scripts/startPuppetAgent.sh
  45. start: scripts/startPuppetAgent.sh
  46. stop: scripts/stopPuppetAgent.sh
  47. relationships:
  48. target: my_webserver_host
  49. type: cloudify.relationships.contained_in
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement