New version of salt-formula from Saltstack
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

126 líneas
3.0KB

  1. _param:
  2. private-ipv4: &private-ipv4
  3. - id: private-ipv4
  4. type: ipv4
  5. link: ens2
  6. netmask: 255.255.255.0
  7. routes:
  8. - gateway: 192.168.0.1
  9. netmask: 0.0.0.0
  10. network: 0.0.0.0
  11. virt:
  12. disk:
  13. three_disks:
  14. - system:
  15. size: 4096
  16. image: ubuntu.qcow
  17. - repository_snapshot:
  18. size: 8192
  19. image: snapshot.qcow
  20. - cinder-volume:
  21. size: 2048
  22. nic:
  23. control:
  24. - name: nic01
  25. bridge: br-pxe
  26. model: virtio
  27. - name: nic02
  28. bridge: br-cp
  29. model: virtio
  30. - name: nic03
  31. bridge: br-store-front
  32. model: virtio
  33. - name: nic04
  34. bridge: br-public
  35. model: virtio
  36. - name: nic05
  37. bridge: br-prv
  38. model: virtio
  39. virtualport:
  40. type: openvswitch
  41. salt:
  42. minion:
  43. enabled: true
  44. master:
  45. host: config01.dc01.domain.com
  46. control:
  47. enabled: true
  48. virt_enabled: true
  49. size:
  50. small:
  51. cpu: 1
  52. ram: 1
  53. medium:
  54. cpu: 2
  55. ram: 4
  56. large:
  57. cpu: 4
  58. ram: 8
  59. medium_three_disks:
  60. cpu: 2
  61. ram: 4
  62. disk_profile: three_disks
  63. cluster:
  64. vpc20_infra:
  65. domain: neco.virt.domain.com
  66. engine: virt
  67. config:
  68. engine: salt
  69. host: master.domain.com
  70. cloud_init:
  71. user_data:
  72. disable_ec2_metadata: true
  73. resize_rootfs: True
  74. timezone: UTC
  75. ssh_deletekeys: True
  76. ssh_genkeytypes: ['rsa', 'dsa', 'ecdsa']
  77. ssh_svcname: ssh
  78. locale: en_US.UTF-8
  79. disable_root: true
  80. apt_preserve_sources_list: false
  81. apt:
  82. sources_list: ""
  83. sources:
  84. ubuntu.list:
  85. source: ${linux:system:repo:ubuntu:source}
  86. mcp_saltstack.list:
  87. source: ${linux:system:repo:mcp_saltstack:source}
  88. network_data:
  89. links:
  90. - id: ens2
  91. type: phy
  92. name: ens2
  93. node:
  94. ubuntu1:
  95. provider: node01.domain.com
  96. image: ubuntu.qcow
  97. size: medium
  98. img_dest: /var/lib/libvirt/ssdimages
  99. machine: virt-2.11
  100. cpu_mode: host-passthrough
  101. cpuset: '1-2'
  102. ubuntu2:
  103. provider: node02.domain.com
  104. image: bubuntu.qcomw
  105. size: small
  106. img_dest: /var/lib/libvirt/hddimages
  107. loader:
  108. readonly: yes
  109. type: pflash
  110. path: /usr/share/AAVMF/AAVMF_CODE.fd
  111. ubuntu3:
  112. provider: node03.domain.com
  113. image: meowbuntu.qcom2
  114. size: medium_three_disks
  115. cloud_init:
  116. network_data:
  117. networks:
  118. - <<: *private-ipv4
  119. ip_address: 192.168.0.161
  120. rng:
  121. backend: /dev/urandom
  122. model: random
  123. rate:
  124. period: '1800'
  125. bytes: '1500'