Fuel plugin for bare metal configuration and provisioning ready to deploy VMs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

deployment_tasks.yaml 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Copyright 2016 AT&T, Inc.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License"); you may
  4. # not use this file except in compliance with the License. You may obtain
  5. # a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  11. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  12. # License for the specific language governing permissions and limitations
  13. # under the License.
  14. - id: nitrous
  15. type: group
  16. role: [nitrous]
  17. tasks: [hiera, globals, tools, logging, netconfig, hosts, deploy_start]
  18. parameters:
  19. strategy:
  20. type: parallel
  21. - id: nitrous-deployment-puppet
  22. type: puppet
  23. role: [nitrous]
  24. version: 2.0.0
  25. required_for: [deploy_end]
  26. requires: [deploy_start]
  27. parameters:
  28. puppet_manifest: puppet/manifests/nitrous.pp
  29. puppet_modules: puppet/modules:/etc/puppet/modules
  30. timeout: 720
  31. - id: nitrous-post-deployment-sh
  32. type: shell
  33. version: 2.0.0
  34. role: [nitrous]
  35. cross-depends:
  36. - name: post_deployment_start
  37. cross-depended-by:
  38. - name: post_deployment_end
  39. requires: [post_deploy_start]
  40. required_for: [post_deploy_end]
  41. parameters:
  42. cmd: |
  43. echo -e "#!/bin/sh \n\n/bin/sleep 60 && /usr/bin/opsvm -a >>/var/log/nitrous.log" > /etc/ops_create.sh && chmod +x /etc/ops_create.sh;
  44. retries: 0
  45. interval: 10
  46. timeout: 120