diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:44:05 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:47:57 +0400 |
commit | a6daf4ece3f05600ad66fea55c5220d07a71cef1 (patch) | |
tree | 988e0e370b7c2683f10eff189f2ba7b276b24923 /mcp/reclass/classes/system/horizon | |
parent | 7b4fbdd9be1a234c345b21ebf0eafcf7f5187f26 (diff) |
[mcp] Bring in reclass system salt models
Change-Id: I1a865b7524f3a5242544e60e6b36b1092721c58b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/system/horizon')
11 files changed, 154 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/horizon/server/cluster.yml b/mcp/reclass/classes/system/horizon/server/cluster.yml new file mode 100644 index 000000000..8ee48a3ca --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/cluster.yml @@ -0,0 +1,16 @@ +classes: +- service.keepalived.cluster.single +- service.horizon.server.cluster +- service.haproxy.proxy.single +- system.haproxy.proxy.listen.openstack.horizon +- system.memcached.server.single +parameters: + _param: + horizon_site_branding: "OpenStack Dashboard" + horizon: + server: + branding: ${_param:horizon_site_branding} + plugin: {} + session: + engine: "cache" + diff --git a/mcp/reclass/classes/system/horizon/server/plugin/api_mask.yml b/mcp/reclass/classes/system/horizon/server/plugin/api_mask.yml new file mode 100644 index 000000000..5ef5f5a20 --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/plugin/api_mask.yml @@ -0,0 +1,10 @@ +parameters: + horizon: + server: + plugin: + api_mask: + app: api_mask + mask_url: ${_param:horizon_api_mask_url} + source: + engine: pkg + name: openstack-dashboard-api-mask diff --git a/mcp/reclass/classes/system/horizon/server/plugin/billing.yml b/mcp/reclass/classes/system/horizon/server/plugin/billing.yml new file mode 100644 index 000000000..9fdefdeb0 --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/plugin/billing.yml @@ -0,0 +1,23 @@ +parameters: + _param: + openstack_billing_currency: EUR + openstack_billing_allocation: False + openstack_billing_resource_types: [] + horizon: + server: + plugin: + billing: + metric: + engine: graphite + host: ${_param:openstack_billing_address} + port: 80 + config: + currency: ${_param:openstack_billing_currency} + allocation: ${_param:openstack_billing_allocation} + extra_resource_types: ${_param:openstack_billing_resource_types} + source: + engine: pkg + name: openstack-dashboard-billing + horizon_overrides: + overrides: + - horizon_billing diff --git a/mcp/reclass/classes/system/horizon/server/plugin/contrail.yml b/mcp/reclass/classes/system/horizon/server/plugin/contrail.yml new file mode 100644 index 000000000..669dbb6bb --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/plugin/contrail.yml @@ -0,0 +1,11 @@ +parameters: + horizon: + server: + plugin: + contrail: + source: + engine: pkg + name: openstack-dashboard-contrail-panels + horizon_overrides: + overrides: + - contrail_openstack_dashboard diff --git a/mcp/reclass/classes/system/horizon/server/plugin/heat.yml b/mcp/reclass/classes/system/horizon/server/plugin/heat.yml new file mode 100644 index 000000000..9e7048099 --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/plugin/heat.yml @@ -0,0 +1,11 @@ +parameters: + horizon: + server: + plugin: + heat: + source: + engine: pkg + name: openstack-dashboard-heat-server-templates + horizon_overrides: + overrides: + - heat_server_templates diff --git a/mcp/reclass/classes/system/horizon/server/plugin/jenkins.yml b/mcp/reclass/classes/system/horizon/server/plugin/jenkins.yml new file mode 100644 index 000000000..04c490160 --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/plugin/jenkins.yml @@ -0,0 +1,15 @@ +parameters: + _param: + horizon_jenkins_url: http://localhost:8080/ + horizon_jenkins_user: admin + horizon: + server: + jenkins_api: + url: ${_param:horizon_jenkins_url} + user: ${_param:horizon_jenkins_user} + password: ${_param:horizon_jenkins_password} + plugin: + jenkins: + source: + engine: pkg + name: openstack-dashboard-jenkins diff --git a/mcp/reclass/classes/system/horizon/server/plugin/monitoring.yml b/mcp/reclass/classes/system/horizon/server/plugin/monitoring.yml new file mode 100644 index 000000000..66add9400 --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/plugin/monitoring.yml @@ -0,0 +1,9 @@ +parameters: + horizon: + server: + plugin: + monitoring: + app: horizon_monitoring + source: + engine: pkg + name: openstack-dashboard-sensu diff --git a/mcp/reclass/classes/system/horizon/server/plugin/overrides.yml b/mcp/reclass/classes/system/horizon/server/plugin/overrides.yml new file mode 100644 index 000000000..edf60b3f3 --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/plugin/overrides.yml @@ -0,0 +1,10 @@ +parameters: + horizon: + server: + plugin: + horizon_overrides: + override: true + app: horizon_overrides + source: + engine: pkg + name: python-horizon-overrides-plugin diff --git a/mcp/reclass/classes/system/horizon/server/plugin/telemetry.yml b/mcp/reclass/classes/system/horizon/server/plugin/telemetry.yml new file mode 100644 index 000000000..a9441118e --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/plugin/telemetry.yml @@ -0,0 +1,21 @@ +parameters: + _param: + horizon_telemetry_engine: graphite + horizon_telemetry_host: 127.0.0.1 + horizon_telemetry_port: 80 + horizon_telemetry_control_nodes: {} + horizon: + server: + control_nodes: ${_param:horizon_telemetry_control_nodes} + plugin: + telemetry: + metric: + engine: ${_param:horizon_telemetry_engine} + host: ${_param:horizon_telemetry_host} + port: ${_param:horizon_telemetry_port} + source: + engine: pkg + name: openstack-dashboard-telemetry + horizon_overrides: + overrides: + - horizon_telemetry diff --git a/mcp/reclass/classes/system/horizon/server/plugin/theme.yml b/mcp/reclass/classes/system/horizon/server/plugin/theme.yml new file mode 100644 index 000000000..85475d754 --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/plugin/theme.yml @@ -0,0 +1,12 @@ +parameters: + _param: + horizon_dashboard_theme: mirantis + horizon: + server: + plugin: + horizon_theme: + app: horizon_theme + theme_name: ${_param:horizon_dashboard_theme} + source: + engine: pkg + name: openstack-dashboard-${_param:horizon_dashboard_theme}-theme diff --git a/mcp/reclass/classes/system/horizon/server/single.yml b/mcp/reclass/classes/system/horizon/server/single.yml new file mode 100644 index 000000000..2b59f5218 --- /dev/null +++ b/mcp/reclass/classes/system/horizon/server/single.yml @@ -0,0 +1,16 @@ +classes: +- service.horizon.server.single +- system.memcached.server.single +parameters: + _param: + horizon_site_branding: "OpenStack Dashboard" + horizon: + server: + branding: ${_param:horizon_site_branding} + bind: + address: 0.0.0.0 + port: 8078 + plugin: {} + session: + engine: "cache" + |