blob: 96498723ce06fbf8c584e31200db5dffc830d46f [file] [log] [blame]
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +03001classes:
2- system.salt.minion.cert.proxy
3- system.linux.system.repo_local.mcp.apt_mirantis.openstack
4- system.linux.system.repo_local.mcp.extra
5- system.linux.system.repo_local.mcp.apt_mirantis.saltstack_2016_3
6- system.linux.system.repo_local.mcp.apt_mirantis.glusterfs
7- system.linux.system.repo_local.mcp.apt_mirantis.ceph
8- system.memcached.server.single
9- system.apache.server.single
10- system.apache.server.site.gnocchi
11- system.apache.server.site.panko
12- system.glusterfs.server.cluster
13- system.glusterfs.client.cluster
14- system.glusterfs.client.volume.gnocchi
15- system.glusterfs.server.volume.gnocchi
16- service.redis.server.single
17- system.nginx.server.single
18- system.nginx.server.proxy.openstack.aodh
19- system.nginx.server.proxy.openstack.ceilometer
20- system.gnocchi.server.cluster
21- system.gnocchi.common.storage.incoming.redis
22- system.gnocchi.common.storage.file
23- system.gnocchi.common.coordination.redis
24- system.ceilometer.server.cluster
25- system.ceilometer.server.coordination.redis
26- system.aodh.server.cluster
27- system.aodh.server.coordination.redis
28- system.panko.server.cluster
29- system.ceilometer.server.backend.default
30- cluster.virtual-offline-ssl
31parameters:
32 _param:
33 salt_minion_ca_authority: salt_master_ca
34 keepalived_openstack_telemetry_vip_address: ${_param:openstack_telemetry_address}
35 keepalived_openstack_telemetry_vip_password: ${_param:openstack_telemetry_keepalived_password}
36 keepalived_openstack_telemetry_vip_interface: ens4
37 cluster_vip_address: ${_param:openstack_telemetry_address}
38 cluster_local_address: ${_param:single_address}
39 nginx_proxy_openstack_api_host: ${_param:openstack_telemetry_address}
40 nginx_proxy_openstack_api_address: ${_param:cluster_local_address}
41 nginx_proxy_openstack_ceilometer_host: 127.0.0.1
42 nginx_proxy_openstack_aodh_host: 127.0.0.1
43 nginx_proxy_ssl:
44 enabled: true
45 engine: salt
46 authority: "${_param:salt_minion_ca_authority}"
47 key_file: "/etc/ssl/private/internal_proxy.key"
48 cert_file: "/etc/ssl/certs/internal_proxy.crt"
49 chain_file: "/etc/ssl/certs/internal_proxy-with-chain.crt"
50 apache_gnocchi_api_address: ${_param:single_address}
51 apache_panko_api_address: ${_param:single_address}
52 apache_gnocchi_ssl: ${_param:nginx_proxy_ssl}
53 apache_panko_ssl: ${_param:nginx_proxy_ssl}
54 cluster_node01_hostname: ${_param:openstack_telemetry_node01_hostname}
55 cluster_node01_address: ${_param:openstack_telemetry_node01_address}
56 cluster_node02_hostname: ${_param:openstack_telemetry_node02_hostname}
57 cluster_node02_address: ${_param:openstack_telemetry_node02_address}
58 cluster_node03_hostname: ${_param:openstack_telemetry_node03_hostname}
59 cluster_node03_address: ${_param:openstack_telemetry_node03_address}
60 glusterfs_service_host: ${_param:openstack_telemetry_address}
61 gnocchi_glusterfs_service_host: ${_param:glusterfs_service_host}
62 redis_sentinel_node01_address: ${_param:openstack_telemetry_node01_address}
63 redis_sentinel_node02_address: ${_param:openstack_telemetry_node02_address}
64 redis_sentinel_node03_address: ${_param:openstack_telemetry_node03_address}
65 openstack_telemetry_redis_url: redis://${_param:redis_sentinel_node01_address}:26379?sentinel=master_1&sentinel_fallback=${_param:redis_sentinel_node02_address}:26379&sentinel_fallback=${_param:redis_sentinel_node03_address}:26379
66 gnocchi_coordination_url: ${_param:openstack_telemetry_redis_url}
67 gnocchi_storage_incoming_redis_url: ${_param:openstack_telemetry_redis_url}
68 glusterfs_node01_address: ${_param:cluster_node01_address}
69 glusterfs_node02_address: ${_param:cluster_node02_address}
70 glusterfs_node03_address: ${_param:cluster_node03_address}
71 linux:
72 network:
73 interface:
74 ens4:
75 enabled: true
76 type: eth
77 proto: static
78 address: ${_param:single_address}
79 netmask: 255.255.255.0
80 salt:
81 minion:
82 cert:
83 internal_proxy:
84 host: ${_param:salt_minion_ca_host}
85 authority: ${_param:salt_minion_ca_authority}
86 common_name: internal_proxy
87 signing_policy: cert_open
88 alternative_names: IP:127.0.0.1,IP:${_param:cluster_local_address},IP:${_param:openstack_telemetry_address},DNS:${linux:system:name},DNS:${linux:network:fqdn},DNS:${_param:cluster_local_address},DNS:${_param:openstack_telemetry_address}
89 key_file: "/etc/ssl/private/internal_proxy.key"
90 cert_file: "/etc/ssl/certs/internal_proxy.crt"
91 all_file: "/etc/ssl/certs/internal_proxy-with-chain.crt"
92 keepalived:
93 cluster:
94 instance:
95 VIP:
96 virtual_router_id: 160
97 redis:
98 server:
99 version: 3.0
100 bind:
101 address: ${_param:single_address}
102 cluster:
103 enabled: True
104 mode: sentinel
105 role: ${_param:redis_cluster_role}
106 quorum: 2
107 master:
108 host: ${_param:cluster_node01_address}
109 port: 6379
110 sentinel:
111 address: ${_param:single_address}
112 apache:
113 server:
114 modules:
115 - wsgi
116 gnocchi:
117 common:
118 database:
119 host: ${_param:openstack_database_address}
120 server:
121 identity:
122 protocol: https
123 pkgs:
124 # TODO: move python-memcache installation to formula
125 - gnocchi-api
126 - gnocchi-metricd
127 - python-memcache
128 panko:
129 server:
130 identity:
131 protocol: https
132 aodh:
133 server:
134 bind:
135 host: 127.0.0.1
136 coordination_backend:
137 url: ${_param:openstack_telemetry_redis_url}
138 identity:
139 protocol: https
140 host: ${_param:openstack_control_address}
141 ceilometer:
142 server:
143 bind:
144 host: 127.0.0.1
145 coordination_backend:
146 url: ${_param:openstack_telemetry_redis_url}
147 identity:
148 protocol: https
149 host: ${_param:openstack_control_address}
150 haproxy:
151 proxy:
152 listen:
153 panko_api:
154 type: ~
155 ceilometer_api:
156 type: ~
157 gnocchi_api:
158 type: ~
159 aodh-api:
160 type: ~