Merge "Add create vm script and foreman config"
[genesis.git] / opensteak / config / common.yaml
1 # common.yaml
2 ---
3
4 ###
5 ##  OpenStack passwords
6 ###
7 ceph_password: "password"
8 admin_password: "password"
9 mysql_service_password: "password"
10 mysql_root_password: "password"
11 rabbitmq_password: "password"
12 glance_password: "password"
13 nova_password: "password"
14 neutron_shared_secret: "password"
15 neutron_password: "password"
16 cinder_password: "password"
17 keystone_admin_token: "password"
18 horizon_secret_key: "12345"
19
20 domain: "infra.opensteak.fr"
21
22 ###
23 ## Class parameters
24 ###
25 # Rabbit
26 opensteak::rabbitmq::rabbitmq_password: "%{hiera('rabbitmq_password')}"
27
28 # MySQL
29 opensteak::mysql::root_password: "%{hiera('mysql_root_password')}"
30 opensteak::mysql::mysql_password: "%{hiera('mysql_service_password')}"
31
32 # Key
33 opensteak::key::password: "%{hiera('admin_password')}"
34 opensteak::key::stack_domain: "%{hiera('domain')}"
35
36 # Keystone
37 opensteak::keystone::mysql_password: "%{hiera('mysql_root_password')}"
38 opensteak::keystone::rabbitmq_password: "%{hiera('rabbitmq_password')}"
39 opensteak::keystone::keystone_token: "%{hiera('keystone_admin_token')}"
40 opensteak::keystone::stack_domain: "%{hiera('domain')}"
41 opensteak::keystone::admin_mail: "admin@opensteak.fr"
42 opensteak::keystone::admin_password: "%{hiera('admin_password')}"
43 opensteak::keystone::glance_password: "%{hiera('glance_password')}"
44 opensteak::keystone::nova_password: "%{hiera('nova_password')}"
45 opensteak::keystone::neutron_password: "%{hiera('neutron_password')}"
46 opensteak::keystone::cinder_password: "%{hiera('cinder_password')}"
47
48 # Glance
49 opensteak::glance::mysql_password: "%{hiera('mysql_root_password')}"
50 opensteak::glance::rabbitmq_password: "%{hiera('rabbitmq_password')}"
51 opensteak::glance::stack_domain: "%{hiera('domain')}"
52 opensteak::glance::glance_password: "%{hiera('glance_password')}"
53
54 # Nova
55 opensteak::nova::mysql_password: "%{hiera('mysql_root_password')}"
56 opensteak::nova::rabbitmq_password: "%{hiera('rabbitmq_password')}"
57 opensteak::nova::stack_domain: "%{hiera('domain')}"
58 opensteak::nova::nova_password: "%{hiera('nova_password')}"
59 opensteak::nova::neutron_password: "%{hiera('neutron_password')}"
60 opensteak::nova::neutron_shared: "%{hiera('neutron_shared_secret')}"
61
62 # Cinder
63 opensteak::cinder::mysql_password: "%{hiera('mysql_root_password')}"
64 opensteak::cinder::rabbitmq_password: "%{hiera('rabbitmq_password')}"
65 opensteak::cinder::stack_domain: "%{hiera('domain')}"
66 opensteak::cinder::nova_password: "%{hiera('cinder_password')}"
67
68 # Compute
69 opensteak::nova-compute::mysql_password: "%{hiera('mysql_root_password')}"
70 opensteak::nova-compute::rabbitmq_password: "%{hiera('rabbitmq_password')}"
71 opensteak::nova-compute::stack_domain: "%{hiera('domain')}"
72 opensteak::nova-compute::neutron_password: "%{hiera('neutron_password')}"
73
74
75 # Neutron controller
76 opensteak::neutron-controller::mysql_password: "%{hiera('mysql_root_password')}"
77 opensteak::neutron-controller::rabbitmq_password: "%{hiera('rabbitmq_password')}"
78 opensteak::neutron-controller::stack_domain: "%{hiera('domain')}"
79 opensteak::neutron-controller::nova_password: "%{hiera('nova_password')}"
80 opensteak::neutron-controller::neutron_password: "%{hiera('neutron_password')}"
81 # Neutron compute
82 opensteak::neutron-compute::mysql_password: "%{hiera('mysql_root_password')}"
83 opensteak::neutron-compute::rabbitmq_password: "%{hiera('rabbitmq_password')}"
84 opensteak::neutron-compute::stack_domain: "%{hiera('domain')}"
85 opensteak::neutron-compute::neutron_password: "%{hiera('neutron_password')}"
86 opensteak::neutron-compute::neutron_shared: "%{hiera('neutron_shared_secret')}"
87 opensteak::neutron-compute::infra_nodes:
88  server186:
89   ip: 192.168.1.27
90   bridge_uplinks:
91    - 'br-vm:p3p1'
92  server187:
93   ip: 192.168.1.155
94   bridge_uplinks:
95    - 'br-vm:p3p1'
96  server188:
97   ip: 192.168.1.116
98   bridge_uplinks:
99    - 'br-vm:p3p1'
100  server189:
101   ip: 192.168.1.117
102   bridge_uplinks:
103    - 'br-vm:p3p1'
104 # Neutron network
105 opensteak::neutron-network::mysql_password: "%{hiera('mysql_root_password')}"
106 opensteak::neutron-network::rabbitmq_password: "%{hiera('rabbitmq_password')}"
107 opensteak::neutron-network::stack_domain: "%{hiera('domain')}"
108 opensteak::neutron-network::neutron_password: "%{hiera('neutron_password')}"
109 opensteak::neutron-network::neutron_shared: "%{hiera('neutron_shared_secret')}"
110 opensteak::neutron-network::infra_nodes:
111  server98:
112   ip: 192.168.1.58
113   bridge_uplinks:
114    - 'br-ex:em2'
115    - 'br-vm:em5'
116
117 # Horizon
118 opensteak::horizon::stack_domain: "%{hiera('domain')}"
119 opensteak::horizon::secret_key: "%{hiera('horizon_secret_key')}"