Advertisement
Guest User

192.168.0.200_controller.pp.log

a guest
Jan 27th, 2020
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.24 KB | None | 0 0
  1. [root@controller ~]# cat /var/tmp/packstack/20200128-105502-9iHNJO/manifests/192.168.0.200_controller.pp
  2.  
  3. stage { "init": before => Stage["main"] }
  4.  
  5. Exec { timeout => hiera('DEFAULT_EXEC_TIMEOUT') }
  6. Package { allow_virtual => true }
  7.  
  8. class {'::packstack::prereqs':
  9. stage => init,
  10. }
  11.  
  12. include ::firewall
  13.  
  14. if hiera('CONFIG_NTP_SERVERS', '') != '' {
  15. include '::packstack::chrony'
  16. }
  17.  
  18. include '::packstack::amqp'
  19. include '::packstack::mariadb'
  20.  
  21. if hiera('CONFIG_MARIADB_INSTALL') == 'y' {
  22. include 'packstack::mariadb::services'
  23. } else {
  24. include 'packstack::mariadb::services_remote'
  25. }
  26.  
  27. include '::packstack::apache'
  28. include '::packstack::keystone'
  29.  
  30. if hiera('CONFIG_GLANCE_INSTALL') == 'y' {
  31. include '::packstack::keystone::glance'
  32. include '::packstack::glance'
  33. if hiera('CONFIG_CEILOMETER_INSTALL') == 'y' {
  34. include '::packstack::glance::ceilometer'
  35. }
  36. if hiera('CONFIG_GLANCE_BACKEND') == 'swift' {
  37. include '::packstack::glance::backend::swift'
  38. } else {
  39. include '::packstack::glance::backend::file'
  40. }
  41. }
  42.  
  43. if hiera('CONFIG_CINDER_INSTALL') == 'y' {
  44. include '::packstack::keystone::cinder'
  45. include '::packstack::cinder::rabbitmq'
  46. include '::packstack::cinder'
  47. if hiera('CONFIG_CEILOMETER_INSTALL') == 'y' {
  48. include '::packstack::cinder::ceilometer'
  49. }
  50. if hiera('CONFIG_SWIFT_INSTALL') == 'y' {
  51. include '::packstack::cinder::backup'
  52. }
  53.  
  54. $cinder_backends = hiera_array('CONFIG_CINDER_BACKEND')
  55.  
  56. case $cinder_backends[0] {
  57. 'lvm': { include '::packstack::cinder::backend::lvm' }
  58. 'gluster': { include '::packstack::cinder::backend::gluster' }
  59. 'nfs': { include '::packstack::cinder::backend::nfs' }
  60. 'vmdk': { include '::packstack::cinder::backend::vmdk' }
  61. 'netapp': { include '::packstack::cinder::backend::netapp' }
  62. 'solidfire': { include '::packstack::cinder::backend::solidfire' }
  63. default: { include '::packstack::cinder::backend::lvm' }
  64. }
  65. }
  66.  
  67. if hiera('CONFIG_IRONIC_INSTALL') == 'y' {
  68. include '::packstack::keystone::ironic'
  69. include '::packstack::ironic'
  70. include '::packstack::ironic::rabbitmq'
  71. }
  72.  
  73. if hiera('CONFIG_NOVA_INSTALL') == 'y' {
  74. include '::packstack::keystone::nova'
  75. include '::packstack::nova'
  76. include '::packstack::nova::common'
  77. include '::packstack::nova::api'
  78. include '::packstack::nova::conductor'
  79. if hiera('CONFIG_IRONIC_INSTALL') == 'y' {
  80. include '::packstack::nova::sched::ironic'
  81. } else {
  82. include '::packstack::nova::sched'
  83. }
  84. include '::packstack::nova::vncproxy'
  85. if hiera('CONFIG_NEUTRON_INSTALL') == 'y' {
  86. include '::packstack::nova::neutron'
  87. }
  88. }
  89.  
  90. if hiera('CONFIG_NEUTRON_INSTALL') == 'y' {
  91. include '::packstack::keystone::neutron'
  92. include '::packstack::neutron::rabbitmq'
  93. include '::packstack::neutron::api'
  94. if hiera('CONFIG_NOVA_INSTALL') == 'y' {
  95. include '::packstack::neutron::notifications'
  96. }
  97. include '::packstack::neutron::ml2'
  98. if hiera('CONFIG_NEUTRON_L2_AGENT') == 'ovn' {
  99. include '::packstack::neutron::ovn_northd'
  100. }
  101. }
  102.  
  103. if hiera('CONFIG_MANILA_INSTALL') == 'y' {
  104. include '::packstack::keystone::manila'
  105. include '::packstack::manila'
  106. include '::packstack::manila::rabbitmq'
  107. if 'generic' in hiera_array('CONFIG_MANILA_BACKEND') {
  108. include '::packstack::manila::backend::generic'
  109. }
  110. if 'netapp' in hiera_array('CONFIG_MANILA_BACKEND') {
  111. include '::packstack::manila::backend::netapp'
  112. }
  113. if 'glusternative' in hiera_array('CONFIG_MANILA_BACKEND') {
  114. include '::packstack::manila::backend::glusternative'
  115. }
  116. if 'glusternfs' in hiera_array('CONFIG_MANILA_BACKEND') {
  117. include '::packstack::manila::backend::glusternfs'
  118. }
  119. }
  120.  
  121. include '::packstack::openstackclient'
  122.  
  123. if hiera('CONFIG_HORIZON_INSTALL') == 'y' {
  124. include '::packstack::horizon'
  125. }
  126.  
  127. if hiera('CONFIG_SWIFT_INSTALL') == 'y' {
  128. include '::packstack::keystone::swift'
  129. include '::packstack::swift'
  130. include '::packstack::swift::ringbuilder'
  131. include '::packstack::swift::proxy'
  132. include '::packstack::swift::storage'
  133. if hiera('CONFIG_CEILOMETER_INSTALL') == 'y' and
  134. hiera('CONFIG_ENABLE_CEILOMETER_MIDDLEWARE') == 'y' {
  135. include '::packstack::swift::ceilometer'
  136. }
  137. }
  138.  
  139. if hiera('CONFIG_HEAT_INSTALL') == 'y' {
  140. include '::packstack::keystone::heat'
  141. include '::packstack::heat::rabbitmq'
  142. include '::packstack::heat'
  143. if hiera('CONFIG_HEAT_CFN_INSTALL') == 'y' {
  144. include '::packstack::heat::cfn'
  145. }
  146. }
  147.  
  148. if hiera('CONFIG_MAGNUM_INSTALL') == 'y' {
  149. include '::packstack::keystone::magnum'
  150. include '::packstack::magnum'
  151. include '::packstack::magnum::rabbitmq'
  152. }
  153.  
  154. if hiera('CONFIG_PROVISION_DEMO') == 'y' or hiera('CONFIG_PROVISION_TEMPEST') == 'y' {
  155. include '::packstack::provision'
  156. if hiera('CONFIG_GLANCE_INSTALL') == 'y' {
  157. include '::packstack::provision::glance'
  158. }
  159. }
  160.  
  161. if hiera('CONFIG_PROVISION_TEMPEST') == 'y' {
  162. include '::packstack::provision::tempest'
  163. }
  164.  
  165.  
  166. if hiera('CONFIG_PROVISION_TEMPEST') == 'y' {
  167. include '::packstack::provision::tempest'
  168. }
  169.  
  170.  
  171. if hiera('CONFIG_CEILOMETER_INSTALL') == 'y' and hiera('CONFIG_PANKO_INSTALL') == 'y' {
  172. include '::packstack::keystone::panko'
  173. include '::packstack::panko'
  174. }
  175.  
  176. if hiera('CONFIG_CEILOMETER_INSTALL') == 'y' {
  177. # setup gnocchi
  178. include '::packstack::keystone::gnocchi'
  179. include '::packstack::gnocchi'
  180. # setup ceilometer
  181. include '::packstack::keystone::ceilometer'
  182. include '::packstack::ceilometer::rabbitmq'
  183. include '::packstack::ceilometer'
  184. if hiera('CONFIG_NOVA_INSTALL') == 'n' {
  185. include '::packstack::ceilometer::nova_disabled'
  186. }
  187. include '::packstack::redis'
  188. }
  189.  
  190. if hiera('CONFIG_CEILOMETER_INSTALL') == 'y' and hiera('CONFIG_AODH_INSTALL') == 'y' {
  191. include '::packstack::keystone::aodh'
  192. include '::packstack::aodh::rabbitmq'
  193. include '::packstack::aodh'
  194. }
  195.  
  196. if hiera('CONFIG_TROVE_INSTALL') == 'y' {
  197. include '::packstack::keystone::trove'
  198. include '::packstack::trove::rabbitmq'
  199. include '::packstack::trove'
  200. }
  201.  
  202. if hiera('CONFIG_SAHARA_INSTALL') == 'y' {
  203. include '::packstack::keystone::sahara'
  204. include '::packstack::sahara::rabbitmq'
  205. include '::packstack::sahara'
  206. if hiera('CONFIG_CEILOMETER_INSTALL') == 'y' {
  207. include '::packstack::sahara::ceilometer'
  208. }
  209. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement