rename cluster levels to non-underscore names
Change-Id: Ic9bdafbeb1333699ce424612f8b2e8d8dafb7be2
diff --git a/classes/cluster/aaa_ha_freeipa/aaa/freeipa_client.yml b/classes/cluster/aaa-ha-freeipa/aaa/freeipa_client.yml
similarity index 94%
rename from classes/cluster/aaa_ha_freeipa/aaa/freeipa_client.yml
rename to classes/cluster/aaa-ha-freeipa/aaa/freeipa_client.yml
index 438737a..79b3d57 100644
--- a/classes/cluster/aaa_ha_freeipa/aaa/freeipa_client.yml
+++ b/classes/cluster/aaa-ha-freeipa/aaa/freeipa_client.yml
@@ -8,7 +8,7 @@
- system.freeipa.client.nsupdate
- system.freeipa.client.keytab.krb5
- system.freeipa.client.keytab.apache2
-- cluster.aaa_ha_freeipa.aaa
+- cluster.aaa-ha-freeipa.aaa
parameters:
_param:
keepalived_vip_interface: ${_param:primary_interface}
diff --git a/classes/cluster/aaa_ha_freeipa/aaa/freeipa_server.yml b/classes/cluster/aaa-ha-freeipa/aaa/freeipa_server.yml
similarity index 97%
rename from classes/cluster/aaa_ha_freeipa/aaa/freeipa_server.yml
rename to classes/cluster/aaa-ha-freeipa/aaa/freeipa_server.yml
index 271479c..ebf3496 100644
--- a/classes/cluster/aaa_ha_freeipa/aaa/freeipa_server.yml
+++ b/classes/cluster/aaa-ha-freeipa/aaa/freeipa_server.yml
@@ -5,7 +5,7 @@
#- system.salt.minion.cert.
- system.mysql.client
- system.freeipa.server.cluster
-- cluster.aaa_ha_freeipa.aaa
+- cluster.aaa-ha-freeipa.aaa
parameters:
_param:
linux_system_codename: centos
diff --git a/classes/cluster/aaa_ha_freeipa/aaa/init.yml b/classes/cluster/aaa-ha-freeipa/aaa/init.yml
similarity index 99%
rename from classes/cluster/aaa_ha_freeipa/aaa/init.yml
rename to classes/cluster/aaa-ha-freeipa/aaa/init.yml
index 0cd8e4f..c09e5b7 100644
--- a/classes/cluster/aaa_ha_freeipa/aaa/init.yml
+++ b/classes/cluster/aaa-ha-freeipa/aaa/init.yml
@@ -1,5 +1,5 @@
classes:
-#- cluster.aaa_ha_freeipa.aaa
+#- cluster.aaa-ha-freeipa.aaa
- system.linux.system.single
- system.openssh.server.team.lab
- system.openssh.server.team.tcpcloud
diff --git a/classes/cluster/aaa_ha_freeipa/infra/config.yml b/classes/cluster/aaa-ha-freeipa/infra/config.yml
similarity index 96%
rename from classes/cluster/aaa_ha_freeipa/infra/config.yml
rename to classes/cluster/aaa-ha-freeipa/infra/config.yml
index 70e3c07..c24f8ae 100644
--- a/classes/cluster/aaa_ha_freeipa/infra/config.yml
+++ b/classes/cluster/aaa-ha-freeipa/infra/config.yml
@@ -8,9 +8,9 @@
- system.mysql.client
- system.reclass.storage.salt
- system.reclass.storage.system.infra_idm_cluster
-- cluster.aaa_ha_freeipa.infra
-- cluster.aaa_ha_freeipa.aaa
-- cluster.aaa_ha_freeipa
+- cluster.aaa-ha-freeipa.infra
+- cluster.aaa-ha-freeipa.aaa
+- cluster.aaa-ha-freeipa
parameters:
_param:
salt_master_base_environment: prd
diff --git a/classes/cluster/aaa_ha_freeipa/infra/init.yml b/classes/cluster/aaa-ha-freeipa/infra/init.yml
similarity index 100%
rename from classes/cluster/aaa_ha_freeipa/infra/init.yml
rename to classes/cluster/aaa-ha-freeipa/infra/init.yml
diff --git a/classes/cluster/aaa-ha-freeipa/init.yml b/classes/cluster/aaa-ha-freeipa/init.yml
new file mode 100644
index 0000000..5c821d9
--- /dev/null
+++ b/classes/cluster/aaa-ha-freeipa/init.yml
@@ -0,0 +1,5 @@
+classes:
+- cluster.aaa-ha-freeipa.aaa.freeipa_server
+- cluster.aaa-ha-freeipa.infra
+- cluster.overrides
+
diff --git a/classes/cluster/aaa_ha_freeipa/init.yml b/classes/cluster/aaa_ha_freeipa/init.yml
deleted file mode 100644
index c9a2bed..0000000
--- a/classes/cluster/aaa_ha_freeipa/init.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-classes:
-- cluster.aaa_ha_freeipa.aaa.freeipa_server
-- cluster.aaa_ha_freeipa.infra
-- cluster.overrides
-
diff --git a/classes/cluster/ceph_ha/ceph/cfs.yml b/classes/cluster/ceph-ha/ceph/cfs.yml
similarity index 74%
rename from classes/cluster/ceph_ha/ceph/cfs.yml
rename to classes/cluster/ceph-ha/ceph/cfs.yml
index 084de38..634177a 100644
--- a/classes/cluster/ceph_ha/ceph/cfs.yml
+++ b/classes/cluster/ceph-ha/ceph/cfs.yml
@@ -1,4 +1,4 @@
classes:
- system.linux.system.repo.ubuntu
- system.linux.network.hosts
-- cluster.ceph_ha.infra
+- cluster.ceph-ha.infra
diff --git a/classes/cluster/ceph_ha/ceph/common.yml b/classes/cluster/ceph-ha/ceph/common.yml
similarity index 85%
rename from classes/cluster/ceph_ha/ceph/common.yml
rename to classes/cluster/ceph-ha/ceph/common.yml
index 5117d12..98708f9 100644
--- a/classes/cluster/ceph_ha/ceph/common.yml
+++ b/classes/cluster/ceph-ha/ceph/common.yml
@@ -1,6 +1,6 @@
classes:
- system.linux.system.repo.ceph
-- cluster.ceph_ha.infra
+- cluster.ceph-ha.infra
parameters:
ceph:
common:
diff --git a/classes/cluster/ceph_ha/ceph/init.yml b/classes/cluster/ceph-ha/ceph/init.yml
similarity index 100%
rename from classes/cluster/ceph_ha/ceph/init.yml
rename to classes/cluster/ceph-ha/ceph/init.yml
diff --git a/classes/cluster/ceph_ha/ceph/mon.yml b/classes/cluster/ceph-ha/ceph/mon.yml
similarity index 68%
rename from classes/cluster/ceph_ha/ceph/mon.yml
rename to classes/cluster/ceph-ha/ceph/mon.yml
index 055a2c8..96fa0b4 100644
--- a/classes/cluster/ceph_ha/ceph/mon.yml
+++ b/classes/cluster/ceph-ha/ceph/mon.yml
@@ -1,4 +1,4 @@
classes:
- system.ceph.mon.cluster
-- cluster.ceph_ha.ceph.common
+- cluster.ceph-ha.ceph.common
- system.linux.network.hosts
diff --git a/classes/cluster/ceph_ha/ceph/mon_init.yml b/classes/cluster/ceph-ha/ceph/mon_init.yml
similarity index 100%
rename from classes/cluster/ceph_ha/ceph/mon_init.yml
rename to classes/cluster/ceph-ha/ceph/mon_init.yml
diff --git a/classes/cluster/ceph_ha/ceph/osd.yml b/classes/cluster/ceph-ha/ceph/osd.yml
similarity index 97%
rename from classes/cluster/ceph_ha/ceph/osd.yml
rename to classes/cluster/ceph-ha/ceph/osd.yml
index 85e650a..2d7cb2a 100644
--- a/classes/cluster/ceph_ha/ceph/osd.yml
+++ b/classes/cluster/ceph-ha/ceph/osd.yml
@@ -1,7 +1,7 @@
classes:
- service.ceph.osd.cluster
- system.linux.network.hosts
-- cluster.ceph_ha.ceph.common
+- cluster.ceph-ha.ceph.common
parameters:
ceph:
osd:
diff --git a/classes/cluster/ceph_ha/ceph/rgw.yml b/classes/cluster/ceph-ha/ceph/rgw.yml
similarity index 93%
rename from classes/cluster/ceph_ha/ceph/rgw.yml
rename to classes/cluster/ceph-ha/ceph/rgw.yml
index eb6e409..fba17bf 100644
--- a/classes/cluster/ceph_ha/ceph/rgw.yml
+++ b/classes/cluster/ceph-ha/ceph/rgw.yml
@@ -1,8 +1,8 @@
classes:
- system.linux.system.repo.ceph
- system.linux.system.repo.ubuntu
-- cluster.ceph_ha.ceph.common
-- cluster.ceph_ha.infra
+- cluster.ceph-ha.ceph.common
+- cluster.ceph-ha.infra
parameters:
_param:
keepalived_ceph_monitor_vip_address: ${_param:ceph_monitor_address}
diff --git a/classes/cluster/ceph_ha/infra/config.yml b/classes/cluster/ceph-ha/infra/config.yml
similarity index 98%
rename from classes/cluster/ceph_ha/infra/config.yml
rename to classes/cluster/ceph-ha/infra/config.yml
index 123cb65..cc97968 100644
--- a/classes/cluster/ceph_ha/infra/config.yml
+++ b/classes/cluster/ceph-ha/infra/config.yml
@@ -6,8 +6,8 @@
- system.salt.master.api
- system.reclass.storage.salt
- system.reclass.storage.system.ceph_mon_cluster
-- cluster.ceph_ha.ceph
-- cluster.ceph_ha.infra
+- cluster.ceph-ha.ceph
+- cluster.ceph-ha.infra
parameters:
_param:
salt_master_base_environment: prd
diff --git a/classes/cluster/ceph_ha/infra/init.yml b/classes/cluster/ceph-ha/infra/init.yml
similarity index 97%
rename from classes/cluster/ceph_ha/infra/init.yml
rename to classes/cluster/ceph-ha/infra/init.yml
index d3ecd1f..c9183ed 100644
--- a/classes/cluster/ceph_ha/infra/init.yml
+++ b/classes/cluster/ceph-ha/infra/init.yml
@@ -6,7 +6,7 @@
- system.linux.system.repo.ubuntu
- system.openssh.server.team.members.mlos
- system.openssh.server.team.tcpcloud
-- cluster.ceph_ha.ceph
+- cluster.ceph-ha.ceph
- cluster.overrides
parameters:
_param:
diff --git a/classes/cluster/drivetrain_ha_clusters/cicd/control/init.yml b/classes/cluster/drivetrain-ha-clusters/cicd/control/init.yml
similarity index 99%
rename from classes/cluster/drivetrain_ha_clusters/cicd/control/init.yml
rename to classes/cluster/drivetrain-ha-clusters/cicd/control/init.yml
index 50f5983..9091fb8 100644
--- a/classes/cluster/drivetrain_ha_clusters/cicd/control/init.yml
+++ b/classes/cluster/drivetrain-ha-clusters/cicd/control/init.yml
@@ -90,7 +90,7 @@
# Rundeck
- system.rundeck.client.runbook
- - cluster.drivetrain_ha_clusters
+ - cluster.drivetrain-ha-clusters
parameters:
_param:
cluster_node01_name: ci01
diff --git a/classes/cluster/drivetrain_ha_clusters/cicd/control/master.yml b/classes/cluster/drivetrain-ha-clusters/cicd/control/master.yml
similarity index 96%
rename from classes/cluster/drivetrain_ha_clusters/cicd/control/master.yml
rename to classes/cluster/drivetrain-ha-clusters/cicd/control/master.yml
index f7d7d0f..13f8c2f 100644
--- a/classes/cluster/drivetrain_ha_clusters/cicd/control/master.yml
+++ b/classes/cluster/drivetrain-ha-clusters/cicd/control/master.yml
@@ -43,4 +43,4 @@
# ..projects
- system.rundeck.client.project.cicd
# At last
- - cluster.drivetrain_ha_clusters.cicd.control
+ - cluster.drivetrain-ha-clusters.cicd.control
diff --git a/classes/cluster/drivetrain-ha-clusters/cicd/control/slave.yml b/classes/cluster/drivetrain-ha-clusters/cicd/control/slave.yml
new file mode 100644
index 0000000..b5d63e2
--- /dev/null
+++ b/classes/cluster/drivetrain-ha-clusters/cicd/control/slave.yml
@@ -0,0 +1,3 @@
+classes:
+ - cluster.drivetrain-ha-clusters.cicd.control
+ - system.docker.swarm.manager
diff --git a/classes/cluster/drivetrain_ha_clusters/cicd/init.yml b/classes/cluster/drivetrain-ha-clusters/cicd/init.yml
similarity index 100%
rename from classes/cluster/drivetrain_ha_clusters/cicd/init.yml
rename to classes/cluster/drivetrain-ha-clusters/cicd/init.yml
diff --git a/classes/cluster/drivetrain_ha_clusters/cicd/worker.yml b/classes/cluster/drivetrain-ha-clusters/cicd/worker.yml
similarity index 75%
rename from classes/cluster/drivetrain_ha_clusters/cicd/worker.yml
rename to classes/cluster/drivetrain-ha-clusters/cicd/worker.yml
index 13280b0..7d856cc 100644
--- a/classes/cluster/drivetrain_ha_clusters/cicd/worker.yml
+++ b/classes/cluster/drivetrain-ha-clusters/cicd/worker.yml
@@ -2,5 +2,5 @@
- system.linux.system.single
- system.jenkins.slave.docker
- system.aptly.client.publisher
-- cluster.drivetrain_ha_clusters
+- cluster.drivetrain-ha-clusters
diff --git a/classes/cluster/drivetrain_ha_clusters/infra/config.yml b/classes/cluster/drivetrain-ha-clusters/infra/config.yml
similarity index 98%
rename from classes/cluster/drivetrain_ha_clusters/infra/config.yml
rename to classes/cluster/drivetrain-ha-clusters/infra/config.yml
index 25e78fa..c4ad9a6 100644
--- a/classes/cluster/drivetrain_ha_clusters/infra/config.yml
+++ b/classes/cluster/drivetrain-ha-clusters/infra/config.yml
@@ -4,7 +4,7 @@
- system.salt.minion.ca.salt_master
- system.reclass.storage.salt
- system.sphinx.server.doc.reclass
-- cluster.drivetrain_ha_clusters
+- cluster.drivetrain-ha-clusters
parameters:
_param:
reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
diff --git a/classes/cluster/drivetrain_ha_clusters/infra/init.yml b/classes/cluster/drivetrain-ha-clusters/infra/init.yml
similarity index 100%
rename from classes/cluster/drivetrain_ha_clusters/infra/init.yml
rename to classes/cluster/drivetrain-ha-clusters/infra/init.yml
diff --git a/classes/cluster/drivetrain-ha-clusters/init.yml b/classes/cluster/drivetrain-ha-clusters/init.yml
new file mode 100644
index 0000000..e3a898b
--- /dev/null
+++ b/classes/cluster/drivetrain-ha-clusters/init.yml
@@ -0,0 +1,5 @@
+classes:
+- cluster.drivetrain-ha-clusters.infra
+- cluster.drivetrain-ha-clusters.cicd
+- cluster.overrides
+
diff --git a/classes/cluster/drivetrain_ha/bootstrap_vars b/classes/cluster/drivetrain-ha/bootstrap_vars
similarity index 100%
rename from classes/cluster/drivetrain_ha/bootstrap_vars
rename to classes/cluster/drivetrain-ha/bootstrap_vars
diff --git a/classes/cluster/drivetrain_ha_clusters/cicd/control/init.yml b/classes/cluster/drivetrain-ha/cicd/control/init.yml
similarity index 99%
copy from classes/cluster/drivetrain_ha_clusters/cicd/control/init.yml
copy to classes/cluster/drivetrain-ha/cicd/control/init.yml
index 50f5983..12e785d 100644
--- a/classes/cluster/drivetrain_ha_clusters/cicd/control/init.yml
+++ b/classes/cluster/drivetrain-ha/cicd/control/init.yml
@@ -90,7 +90,8 @@
# Rundeck
- system.rundeck.client.runbook
- - cluster.drivetrain_ha_clusters
+ - cluster.drivetrain-ha.cicd
+ # - cluster.drivetrain-ha
parameters:
_param:
cluster_node01_name: ci01
@@ -109,6 +110,8 @@
cluster_public_host: ${_param:control_public_host}
glusterfs_service_host: ${_param:control_vip_address}
+ admin_email: root@localhost
+
# Haproxy SSL configuration
cluster_ssl_certificate:
enabled: true
diff --git a/classes/cluster/drivetrain_ha/cicd/control/master.yml b/classes/cluster/drivetrain-ha/cicd/control/master.yml
similarity index 97%
rename from classes/cluster/drivetrain_ha/cicd/control/master.yml
rename to classes/cluster/drivetrain-ha/cicd/control/master.yml
index 4437b9e..2968ea9 100644
--- a/classes/cluster/drivetrain_ha/cicd/control/master.yml
+++ b/classes/cluster/drivetrain-ha/cicd/control/master.yml
@@ -43,4 +43,4 @@
# ..projects
- system.rundeck.client.project.cicd
# At last
- - cluster.drivetrain_ha
+ - cluster.drivetrain-ha
diff --git a/classes/cluster/drivetrain_ha/cicd/control/slave.yml b/classes/cluster/drivetrain-ha/cicd/control/slave.yml
similarity index 62%
rename from classes/cluster/drivetrain_ha/cicd/control/slave.yml
rename to classes/cluster/drivetrain-ha/cicd/control/slave.yml
index bdc7137..f46c1e4 100644
--- a/classes/cluster/drivetrain_ha/cicd/control/slave.yml
+++ b/classes/cluster/drivetrain-ha/cicd/control/slave.yml
@@ -1,3 +1,3 @@
classes:
- system.docker.swarm.manager
-- cluster.drivetrain_ha
+- cluster.drivetrain-ha
diff --git a/classes/cluster/drivetrain_ha/cicd/init.yml b/classes/cluster/drivetrain-ha/cicd/init.yml
similarity index 100%
rename from classes/cluster/drivetrain_ha/cicd/init.yml
rename to classes/cluster/drivetrain-ha/cicd/init.yml
diff --git a/classes/cluster/drivetrain_ha/cicd/worker.yml b/classes/cluster/drivetrain-ha/cicd/worker.yml
similarity index 80%
rename from classes/cluster/drivetrain_ha/cicd/worker.yml
rename to classes/cluster/drivetrain-ha/cicd/worker.yml
index ec89b93..9dc8d0c 100644
--- a/classes/cluster/drivetrain_ha/cicd/worker.yml
+++ b/classes/cluster/drivetrain-ha/cicd/worker.yml
@@ -2,5 +2,5 @@
- system.linux.system.single
- system.jenkins.slave.docker
- system.aptly.client.publisher
-- cluster.drivetrain_ha
+- cluster.drivetrain-ha
diff --git a/classes/cluster/drivetrain_ha/infra/config.yml b/classes/cluster/drivetrain-ha/infra/config.yml
similarity index 99%
rename from classes/cluster/drivetrain_ha/infra/config.yml
rename to classes/cluster/drivetrain-ha/infra/config.yml
index 3ab5749..4e413b5 100644
--- a/classes/cluster/drivetrain_ha/infra/config.yml
+++ b/classes/cluster/drivetrain-ha/infra/config.yml
@@ -4,7 +4,7 @@
- system.salt.minion.ca.salt_master
- system.reclass.storage.salt
- system.sphinx.server.doc.reclass
-- cluster.drivetrain_ha
+- cluster.drivetrain-ha
parameters:
_param:
reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
diff --git a/classes/cluster/drivetrain_ha/infra/init.yml b/classes/cluster/drivetrain-ha/infra/init.yml
similarity index 100%
rename from classes/cluster/drivetrain_ha/infra/init.yml
rename to classes/cluster/drivetrain-ha/infra/init.yml
diff --git a/classes/cluster/drivetrain-ha/init.yml b/classes/cluster/drivetrain-ha/init.yml
new file mode 100644
index 0000000..dcf60af
--- /dev/null
+++ b/classes/cluster/drivetrain-ha/init.yml
@@ -0,0 +1,6 @@
+classes:
+- cluster.drivetrain-ha.cicd.control
+- cluster.drivetrain-ha.infra
+#- cluster.drivetrain-ha.cicd
+- cluster.overrides
+
diff --git a/classes/cluster/drivetrain_ha/cicd/control/init.yml b/classes/cluster/drivetrain_ha/cicd/control/init.yml
deleted file mode 100644
index a8977d6..0000000
--- a/classes/cluster/drivetrain_ha/cicd/control/init.yml
+++ /dev/null
@@ -1,402 +0,0 @@
-classes:
- # GlusterFS
- - system.glusterfs.server.cluster
- - system.glusterfs.server.volume.aptly
- - system.glusterfs.server.volume.elasticsearch
- - system.glusterfs.server.volume.devops_portal
- - system.glusterfs.server.volume.gerrit
- - system.glusterfs.server.volume.jenkins
- - system.glusterfs.server.volume.mongodb
- - system.glusterfs.server.volume.mysql
- - system.glusterfs.server.volume.openldap
- - system.glusterfs.server.volume.postgresql
- - system.glusterfs.server.volume.pushkin
- - system.glusterfs.server.volume.registry
- - system.glusterfs.server.volume.rundeck
- - system.glusterfs.server.volume.security_monkey
- #- system.glusterfs.server.volume.salt
-
- - system.glusterfs.client.cluster
- - system.glusterfs.client.volume.aptly
- - system.glusterfs.client.volume.devops_portal
- - system.glusterfs.client.volume.elasticsearch
- - system.glusterfs.client.volume.gerrit
- - system.glusterfs.client.volume.jenkins
- - system.glusterfs.client.volume.mongodb
- - system.glusterfs.client.volume.mysql
- - system.glusterfs.client.volume.openldap
- - system.glusterfs.client.volume.postgresql
- - system.glusterfs.client.volume.pushkin
- - system.glusterfs.client.volume.registry
- - system.glusterfs.client.volume.rundeck
- - system.glusterfs.client.volume.security_monkey
- #- system.glusterfs.client.volume.salt
-
- # Docker
- - system.docker.host
- # Docker services
- - system.docker.swarm.stack.aptly
- - system.docker.swarm.stack.devops_portal
- - system.docker.swarm.stack.docker
- - system.docker.swarm.stack.elasticsearch
- - system.docker.swarm.stack.gerrit
- - system.docker.swarm.stack.janitor_monkey
- - system.docker.swarm.stack.jenkins
- - system.docker.swarm.stack.ldap
- - system.docker.swarm.stack.postgresql
- - system.docker.swarm.stack.pushkin
- - system.docker.swarm.stack.rundeck
- - system.docker.swarm.stack.security_monkey
- # Docker networks
- - system.docker.swarm.network.runbook
-
- # Aptly
- # We need aptly-publisher.yml on each node for our Jenkins slaves in docker
- - system.aptly.client.publisher
-
- # Keepalived
- - system.keepalived.cluster.instance.cicd_control_vip
-
- # HAProxy
- - system.salt.minion.cert.proxy
- - system.haproxy.proxy.single
- - system.haproxy.proxy.listen.cicd.aptly
- - system.haproxy.proxy.listen.cicd.gerrit
- - system.haproxy.proxy.listen.cicd.jenkins
- - system.haproxy.proxy.listen.docker.registry
- - system.haproxy.proxy.listen.docker.visualizer
- - system.haproxy.proxy.listen.mysql
- - system.haproxy.proxy.listen.openldap
- - system.haproxy.proxy.listen.oss.devops_portal
- - system.haproxy.proxy.listen.oss.elasticsearch
- - system.haproxy.proxy.listen.oss.janitor_monkey
- - system.haproxy.proxy.listen.oss.mongodb
- - system.haproxy.proxy.listen.oss.postgresql
- - system.haproxy.proxy.listen.oss.pushkin
- - system.haproxy.proxy.listen.oss.rundeck
- - system.haproxy.proxy.listen.oss.security_monkey
- - system.haproxy.proxy.listen.phpldapadmin
- - system.haproxy.proxy.listen.stats
-
- # OSS Tooling
- - system.devops_portal.service.elasticsearch
- - system.devops_portal.service.gerrit
- - system.devops_portal.service.janitor_monkey
- - system.devops_portal.service.jenkins
- - system.devops_portal.service.pushkin
- - system.devops_portal.service.rundeck
- - system.devops_portal.service.security_monkey
-
- # Rundeck
- - system.rundeck.client.runbook
-
- - cluster.drivetrain_ha.cicd
- # - cluster.drivetrain_ha
-parameters:
- _param:
- cluster_node01_name: ci01
- cluster_node01_address: ${_param:control_node01_address}
- cluster_node02_name: ci02
- cluster_node02_address: ${_param:control_node02_address}
- cluster_node03_name: ci03
- cluster_node03_address: ${_param:control_node03_address}
-
- keepalived_vip_virtual_router_id: 180
- keepalived_vip_priority: 103
- keepalived_vip_password: password
- keepalived_vip_interface: ens3
-
- cluster_vip_address: ${_param:control_vip_address}
- cluster_public_host: ${_param:control_public_host}
- glusterfs_service_host: ${_param:control_vip_address}
-
- admin_email: root@localhost
-
- # Haproxy SSL configuration
- cluster_ssl_certificate:
- enabled: true
- pem_file: /etc/haproxy/ssl/${_param:cluster_public_host}-all.pem
- haproxy_bind_address: ${_param:cluster_vip_address}
- haproxy_mysql_source_port: 13306
-
- docker_registry_http_secret: aikemee4AhK0Eechai2eh6aa3eeWiet9
-
- # CI/CD service databases
- mysql_admin_password: password
- mysql_gerrit_password: password
-
- # OpenLDAP
- openldap_organisation: ${_param:cluster_name}
- openldap_dn: 'dc=cicd-lab-dev,dc=local'
- openldap_domain: ${linux:system:domain}
- openldap_admin_password: password
- openldap_config_password: password
- openldap_readonly_password: password
-
- # PostgreSQL
- postgresql_client_user: ${_param:postgresql_admin_user}
- postgresql_client_password: ${_param:postgresql_admin_user_password}
- postgresql_client_host: ${_param:haproxy_postgresql_bind_host}
- postgresql_client_port: ${_param:haproxy_postgresql_bind_port}
-
- # CI/CD service setup
- # Jenkins
- jenkins_client_user: admin
- jenkins_client_password: ${_param:openldap_admin_password}
- jenkins_admin_email: ${_param:admin_email}
- jenkins_admin_public_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQD3hnJDKW4R+aXxdaSJSQmV4a6tRmRI1CECkccApr0h15dXGhgeRyrtMsXKpVkQpweQX+75rJHVcNvHpCsR3wLhS/vgOowQh+Xc7bvl9MzoYBGUw5VZyRD4HoHrp2FEUHQqwnOYubFdHBnOi6HZDdf1axFzjmymQX/XvuAd4vCmtW/wumaJ6tH/VlM57ik5jsWwKQIQZl7ODmlGusycuD5QEPade+cHEijGbLtRyMrP+BFJAzVmav2jeu1CtLD8AaKHB+mtfbHYhFkYhLlmFenztbB9S2kJhuSDjB4c8Xxj3N0O1rhKAJPi2o4LS8boa38EnTz55wq02/DxNMSgs9H0BFKK5qRuhaG4GBvwYC9HR/uzH4abFdNAr2kBLMbAo49qwJL4dfyY87T3JLSEUpg1Ycr31A2e1v8kBOCMipFOkOwlVm1F2P178YJmCcIl2NnzIvfI7SKvVgjgmoxfDZu55CMqf+W6hlMrchhGvXmTDFNfW7cr8ak4GCgZLUIkzWPRcgfwLN+328JhCgGeHfSkQBzMD4sZR0yw3Pc939gMXkRIsfDNnTJ8qZTDkiYfktUt3pRp8AudqQ++cf95nf2lTOyGehXkn7oHGAQfJ9mlSOTTM/e9shtT+jqsB5HW0BRVqtsm7cvyhYKQZCfWOhInBg4hfK5rJVGjCSLckTa4jQ==
- jenkins_admin_private_key: |
- -----BEGIN RSA PRIVATE KEY-----
- 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
- -----END RSA PRIVATE KEY-----
-
- jenkins_security_ldap_server: ${_param:cluster_vip_address}
- jenkins_security_ldap_root_dn: ${_param:openldap_dn}
- jenkins_security_ldap_manager_dn: "cn=admin,${_param:openldap_dn}"
- jenkins_security_ldap_manager_password: ${_param:openldap_admin_password}
- # XXX: doesn't work for some unknown reason
-# jenkins_security_ldap_user_search_base: ou=people,${_param:openldap_dn}
-# jenkins_security_ldap_group_search_base: ou=groups,${_param:openldap_dn}
- # Jobs params
- jenkins_gerrit_url: ssh://admin@${_param:haproxy_gerrit_bind_host}:${_param:haproxy_gerrit_ssh_bind_port}
- jenkins_aptly_api_url: http://${_param:haproxy_aptly_api_bind_host}:${_param:haproxy_aptly_api_bind_port}
- jenkins_aptly_url: http://${_param:haproxy_aptly_public_bind_host}:${_param:haproxy_aptly_public_bind_port}
-
- # Gerrit
- gerrit_auth_type: LDAP
- gerrit_ldap_server: "ldap://${_param:cluster_vip_address}"
- gerrit_ldap_bind_user: "cn=admin,${_param:openldap_dn}"
- gerrit_ldap_bind_password: ${_param:openldap_admin_password}
- gerrit_ldap_account_base: ou=people,${_param:openldap_dn}
- gerrit_ldap_group_base: ou=groups,${_param:openldap_dn}
- gerrit_admin_email: ${_param:admin_email}
- gerrit_public_host: http://${_param:haproxy_gerrit_bind_host}:${_param:haproxy_gerrit_bind_port}
- gerrit_admin_public_key: ${_param:jenkins_admin_public_key}
- gerrit_admin_private_key: ${_param:jenkins_admin_private_key}
- gerrit_admin_password: password
-
- # Aptly
- aptly_gpg_keypair_id: 6C0B7F8E
- aptly_gpg_passphrase:
- aptly_gpg_public_key: |
- -----BEGIN PGP PUBLIC KEY BLOCK-----
- Version: GnuPG v1
- mQENBFhSxjwBCADDiI85tVV+Wu44LTySzY8+NiGHWrFDXpV1BfwS5I2L0YOtp334
- Ma3toeBo9PJG0LBC31D1EseKIXcz+91j8m0WbFPd/r5H9aK1Qv8Mss6dNLUiz63/
- zOI7VbfnH73dxGhDTN3rP2OaYFtw2L09nfcAunV5tyJuG2GrNYi7bOLeNQ3HR1mz
- pA0cArmRbysfwKn+E82nwnglC4vQD7+UDoBMU1/82qqOZNdqMOAD1Rd9S4QG3q80
- bI9Bc8sOOkrdUa4XWN8DdvaT/4z4evMjhbMjqo8m69+Z66EUrgL+PCYbEVeZt8g9
- pcESB/2zv0w0PDifwKoHVkzplxGFrp5Q65TvABEBAAG0LEFUJlQgQ0kvQ0QgQXB0
- bHkgc2lnbmluZyBrZXkgPGFwdGx5QGF0dC5jb20+iQE4BBMBAgAiBQJYUsY8AhsD
- BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRC5cJVmbAt/joBeB/0efCqtvYal
- vfCM9VfOZ3nHebDO/Xy31QYJZyE/XBBaM29ZZos2p1p9pqybMz35DASsauDpbNv3
- lO/DYAb4QXeiBlTk/2CbQlj7GTCYSzxKSAZf6PaGSE+xVfWLZe5pb36YQpFYFl80
- 17KpPT1LWbpyLD+NIa7UzK3PLcWTO7IdcqS4BZ8gEfVAyifZuyQubLU/u/uvqCdy
- cP+kdYc6qIYWkTo63tlJFA/e1nwdRJ7pUXqTD3jx6BsMuwqovUSjPwpykeDnYpUG
- AiDIWWN5Y8iM2EnHmHHnxVb/3BCzDUFS7McRE8a/8WXBNRfxfbqld/Lfg5e4QYYj
- 2nXFPx5ySuWDuQENBFhSxjwBCADAmHdXgfV8YIx68sCNgPzbLkrzmm1t3aitL/TS
- 3B2NC5rzLyBqUdSJSygz2sjZOQ5ju2PZqdw29gs/Ql5M2y9CJ1IDSVranhEJReKe
- 7fXDXTerMwzJPKhZghJev8xd3Za+QMmGWA8ME0LE6DHBsCkniNuzT2lx17Y6LrR+
- lOhW/j34hwEDBePSZ2GBUbXel/CNh4pVapnrcC1gN161lIYgM6SVnMUHo/89W34k
- mFee4m8BcNS+st7mJ5aFBXMSIdkWA/AYyWkRnZFIyZdZUjunNwL1tlHCPXds3II+
- MVLdPB6fncicX1U6gzF8fk2w9Ckm8I1pf2FV057KDoGXA71vABEBAAGJAR8EGAEC
- AAkFAlhSxjwCGwwACgkQuXCVZmwLf475Ggf+Iqw6ZNSE2lSmvOLhPihC8kLoW//n
- 0SC5axqiWQTXkCNlx0x4lTa60VRFvWOSn7meGmeqFxOE1jBeyXVUfae1NfJnKTpJ
- aX2VovWu448CklyvJfzHCVRaMotu187LUv8swrfbFS0DVyGihPYw7FoF7oACEz2E
- OESpmK0ZwMxbpeN0cBVz4mmfcbVqHS6BziD9Q52ocPl4sR0C1RDao1w/RLphNMQ1
- CdmJnSRDhC2SzJI+Bsy+dPgf9XdvT8PlKKSTPGWR/fbBE51/q1DOQ3Awhwv6KlZA
- w/ozIKtbsh74Q1wlxotO3FgbA2Pk9Zqb8ZabhJQCpegr/le92PFZMUywNA==
- =jsLk
- -----END PGP PUBLIC KEY BLOCK-----
- aptly_gpg_private_key: |
- -----BEGIN PGP PRIVATE KEY BLOCK-----
- Version: GnuPG v1
- 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
- NA==
- =MGAS
- -----END PGP PRIVATE KEY BLOCK-----
-
- # Pushkin
- pushkin_db_user: pushkin
- pushkin_db_user_password: pushkin
- pushkin_db_host: ${_param:haproxy_postgresql_bind_host}
- webhook_from: johndoe@mirantis.com
- webhook_recipients: "johnnydoe@mirantis.com,janiedoe@mirantis.com"
- webhook_login_id: 11
- webhook_application_id: 23
- webhook_sfdc_username: janeroe@mirantis.com
-
- # SecurityMonkey
- secmonkey_db_user: secmonkey
- secmonkey_db_user_password: secmonkey
- secmonkey_db_host: ${_param:haproxy_postgresql_bind_host}
- security_monkey_openstack:
- username: admin
- password: password
- auth_url: http://172.17.16.129/identity/v3
-
- # Rundeck
- rundeck_db_host: ${_param:haproxy_postgresql_bind_host}
- rundeck_db_user: rundeck
- rundeck_db_user_password: password
- rundeck_postgresql_username: ${_param:rundeck_db_user}
- rundeck_postgresql_password: ${_param:rundeck_db_user_password}
- rundeck_postgresql_database: rundeck
- rundeck_postgresql_host: ${_param:rundeck_db_host}
- rundeck_cis_os_auth_url: http://172.17.16.129:5000/v3/auth/tokens
- rundeck_cis_elasticsearch_url: http://${_param:haproxy_elasticsearch_bind_host}:${_param:haproxy_elasticsearch_http_bind_port}
- rundeck_runbook_public_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBPHRctBuN16hVe05HxKeN1AqPqbjvWvqQ1zcr/sbJJXHgVBTACRD6G+DAi7SSJr7dLzyeNo042szJclsH/qf9h0tcytINATzye//x6MtzXZ4YIDkcd1Yhz1LRgCXk1PvIensJAdClYOymx+SRaJxEEzbLxgqhSnYOUY3xVGbUrgfXI9+ZG9hs9zfq5JEMRjQay5p+xuYv/wCoU+pbFPDmsW0hQ99O+XBHcwrpU3crkImetTM2WfnRlBkoJypLv/HicTJtnL91/BWcebvW50oxrEq1QQ82T1Wl3pQsJw24M48fXyl/HbF2QVP6O1Ptqr3O7cIByxJWHih3paZncVEj
- rundeck_runbook_private_key: |
- -----BEGIN RSA PRIVATE KEY-----
- MIIEpAIBAAKCAQEAwTx0XLQbjdeoVXtOR8SnjdQKj6m471r6kNc3K/7GySVx4FQU
- wAkQ+hvgwIu0kia+3S88njaNONrMyXJbB/6n/YdLXMrSDQE88nv/8ejLc12eGCA5
- HHdWIc9S0YAl5NT7yHp7CQHQpWDspsfkkWicRBM2y8YKoUp2DlGN8VRm1K4H1yPf
- mRvYbPc36uSRDEY0GsuafsbmL/8AqFPqWxTw5rFtIUPfTvlwR3MK6VN3K5CJnrUz
- Nln50ZQZKCcqS7/x4nEybZy/dfwVnHm71udKMaxKtUEPNk9Vpd6ULCcNuDOPH18p
- fx2xdkFT+jtT7aq9zu3CAcsSVh4od6WmZ3FRIwIDAQABAoIBAQCsnUNY2G7Quzec
- /KQFyi7eq+6vPK596ihwIEAhpdqPLkrWWGWc0bx/n02a0nGAKOpQjPS6ZAKtKg7L
- WMLmll4cRLJWdrtCcLuv5ILS5uBu8s7ZwFckDZo8Y4YYrT+sdXFhOcAUYLGwOa/M
- oD2WgvsseHl3eDZgtDJXQhTo4jtleW4/ZETmduUBx2djSfwx2vv8N6V7+5bH2kvL
- 3PgR3PYp1uD+dPDy00SwuiWDDwljubQzpres8K4ikIWWaU4/t9TUBv+PJt3Kbavi
- 0ca+jdpRdPCW4QmEhNT+D10B3DCN9uVt9leCrYzvcrT1ElqiL4ODBefG0clKq64d
- Zc59IVypAoGBAO2PX2qApylv+uuVe2dscH10qUjgYIuXeszJYtSCiPbu7yMcuFWo
- c6sqU2/l/4vdd8qeHvS75VPzmX2QfF9p1EsL+LE5tzc3m54WfJ884LLI+nx8ynKU
- HrbaLCGCK09bLNXM7XkFTe9s+XrJzgqdff/rF2nZHHyoqPObSgaG//HnAoGBANA8
- TusN74PUX4ABLwGCLEd4/qRa0kgFtwngrcUY9XMWhrJUqi9tKJLN2URhqTbOzFA0
- qv3n6TgZQSVH4ojmgL8EElSU2qKjDQ/jk/kEr5A+sBLdzXWZWdGv/BdB2yn95JH4
- qoD4E9PWkNwz+e6I5PivXrVVIA0PEZ2cthutR/dlAoGBAORHzvfoEzpliijSZ1h2
- Qw67iWUngH8DnJSnvRnbKkSoTBJgqd5eVnCX5r/zs4Ky2kdRdQvWd0QaJVgc/Pcv
- GjrXkS60+JPOEvNyRmU6ue3z5Yi03lIGdhFeS+QTUw0Z31bAaz7NUxwNixtsS1u2
- Bftj7QbhBFfiNyCJDDSDi/XnAoGAbsd2sIO0ZSypNZ7rk+Ddj5Rl26fZcKlhq+aU
- a2OQyI42UE7MTvjCef760+8kp1yywwSR5wvmPYrp5lxsvqnp2jTfT5H1Ekqt20MV
- 6Ic+ov1GjHLlJ+fSKcR21ySY5KkGXUWt53iSi8L9Q7h/ARBgx4/8UXmc2HWoyHGj
- S+wOeiUCgYA2EMH3QOP+LewScNkdgDr9e20+NxmZs+b0ZOk6JAUE+/YLSNDlRQZV
- fL0f0cjIyCdKfv+nR4gdMnm8RDHBiAqrKK3X9tiZ0fGmPHB+OLwYV8wE1u9jkJDA
- IJA5GNU+Uj6+WbPO+hGn3NBWfb7/tR3ojSv7cBf2eEUh/vLSE9joKA==
- -----END RSA PRIVATE KEY-----
-
- salt:
- minion:
- cert:
- proxy:
- alternative_names: "DNS:${_param:cluster_public_host}, DNS:*.${_param:cluster_public_host}, IP:${_param:control_vip_address}, IP:${_param:single_address}"
- key_file: /etc/haproxy/ssl/${_param:cluster_public_host}.key
- cert_file: /etc/haproxy/ssl/${_param:cluster_public_host}.crt
- all_file: /etc/haproxy/ssl/${_param:cluster_public_host}-all.pem
- ca_file: /etc/haproxy/ssl/${_param:salt_minion_ca_authority}-ca.crt
- user: root
- group: haproxy
- mode: 640
- haproxy:
- proxy:
- enabled: true
- linux:
- network:
- resolv:
- dns:
- - 172.18.176.4
- - 172.18.176.5
- - 8.8.8.8
- system:
- package:
- ca-certificates-java:
- version: latest
diff --git a/classes/cluster/drivetrain_ha/init.yml b/classes/cluster/drivetrain_ha/init.yml
deleted file mode 100644
index f35b844..0000000
--- a/classes/cluster/drivetrain_ha/init.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-classes:
-- cluster.drivetrain_ha.cicd.control
-- cluster.drivetrain_ha.infra
-#- cluster.drivetrain_ha.cicd
-- cluster.overrides
-
diff --git a/classes/cluster/drivetrain_ha_clusters/cicd/control/slave.yml b/classes/cluster/drivetrain_ha_clusters/cicd/control/slave.yml
deleted file mode 100644
index d1106da..0000000
--- a/classes/cluster/drivetrain_ha_clusters/cicd/control/slave.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-classes:
- - cluster.drivetrain_ha_clusters.cicd.control
- - system.docker.swarm.manager
diff --git a/classes/cluster/drivetrain_ha_clusters/init.yml b/classes/cluster/drivetrain_ha_clusters/init.yml
deleted file mode 100644
index 4b03fbf..0000000
--- a/classes/cluster/drivetrain_ha_clusters/init.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-classes:
-- cluster.drivetrain_ha_clusters.infra
-- cluster.drivetrain_ha_clusters.cicd
-- cluster.overrides
-
diff --git a/classes/cluster/k8s_aio_calico/infra/config.yml b/classes/cluster/k8s-aio-calico/infra/config.yml
similarity index 98%
rename from classes/cluster/k8s_aio_calico/infra/config.yml
rename to classes/cluster/k8s-aio-calico/infra/config.yml
index fe16242..df7a183 100644
--- a/classes/cluster/k8s_aio_calico/infra/config.yml
+++ b/classes/cluster/k8s-aio-calico/infra/config.yml
@@ -8,7 +8,7 @@
- system.mysql.client
- system.reclass.storage.salt
- system.reclass.storage.system.kubernetes_control_cluster
-- cluster.k8s_aio_calico
+- cluster.k8s-aio-calico
parameters:
_param:
salt_master_base_environment: prd
diff --git a/classes/cluster/k8s_aio_calico/infra/init.yml b/classes/cluster/k8s-aio-calico/infra/init.yml
similarity index 100%
rename from classes/cluster/k8s_aio_calico/infra/init.yml
rename to classes/cluster/k8s-aio-calico/infra/init.yml
diff --git a/classes/cluster/k8s-aio-calico/init.yml b/classes/cluster/k8s-aio-calico/init.yml
new file mode 100644
index 0000000..e0b6c40
--- /dev/null
+++ b/classes/cluster/k8s-aio-calico/init.yml
@@ -0,0 +1,4 @@
+classes:
+- cluster.k8s-aio-calico.kubernetes
+- cluster.k8s-aio-calico.infra
+- cluster.overrides
diff --git a/classes/cluster/k8s_aio_calico/kubernetes/compute.yml b/classes/cluster/k8s-aio-calico/kubernetes/compute.yml
similarity index 98%
rename from classes/cluster/k8s_aio_calico/kubernetes/compute.yml
rename to classes/cluster/k8s-aio-calico/kubernetes/compute.yml
index 0190a19..9d3ece4 100644
--- a/classes/cluster/k8s_aio_calico/kubernetes/compute.yml
+++ b/classes/cluster/k8s-aio-calico/kubernetes/compute.yml
@@ -4,7 +4,7 @@
- system.linux.network.hosts
- system.salt.minion.cert.k8s_client
- system.salt.minion.cert.etcd_client
-- cluster.k8s_aio_calico
+- cluster.k8s-aio-calico
parameters:
_param:
kubernetes_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
diff --git a/classes/cluster/k8s_aio_calico/kubernetes/control.yml b/classes/cluster/k8s-aio-calico/kubernetes/control.yml
similarity index 93%
rename from classes/cluster/k8s_aio_calico/kubernetes/control.yml
rename to classes/cluster/k8s-aio-calico/kubernetes/control.yml
index e353b1a..01f95e7 100644
--- a/classes/cluster/k8s_aio_calico/kubernetes/control.yml
+++ b/classes/cluster/k8s-aio-calico/kubernetes/control.yml
@@ -4,8 +4,8 @@
- system.linux.system.repo.docker
- system.salt.minion.cert.etcd_server
- system.kubernetes.master.cluster
-- cluster.k8s_aio_calico.kubernetes.compute
-- cluster.k8s_aio_calico
+- cluster.k8s-aio-calico.kubernetes.compute
+- cluster.k8s-aio-calico
parameters:
_param:
keepalived_vip_interface: ${_param:primary_interface}
diff --git a/classes/cluster/k8s_aio_calico/kubernetes/init.yml b/classes/cluster/k8s-aio-calico/kubernetes/init.yml
similarity index 100%
rename from classes/cluster/k8s_aio_calico/kubernetes/init.yml
rename to classes/cluster/k8s-aio-calico/kubernetes/init.yml
diff --git a/classes/cluster/k8s_aio_contrail/infra/config.yml b/classes/cluster/k8s-aio-contrail/infra/config.yml
similarity index 98%
rename from classes/cluster/k8s_aio_contrail/infra/config.yml
rename to classes/cluster/k8s-aio-contrail/infra/config.yml
index 8f67033..ad72fd0 100644
--- a/classes/cluster/k8s_aio_contrail/infra/config.yml
+++ b/classes/cluster/k8s-aio-contrail/infra/config.yml
@@ -8,7 +8,7 @@
- system.salt.minion.cert.k8s_server
- system.reclass.storage.system.kubernetes_control_cluster
- system.reclass.storage.system.opencontrail_control_cluster
-- cluster.k8s_aio_contrail
+- cluster.k8s-aio-contrail
parameters:
_param:
salt_master_base_environment: prd
diff --git a/classes/cluster/k8s_aio_contrail/infra/init.yml b/classes/cluster/k8s-aio-contrail/infra/init.yml
similarity index 100%
rename from classes/cluster/k8s_aio_contrail/infra/init.yml
rename to classes/cluster/k8s-aio-contrail/infra/init.yml
diff --git a/classes/cluster/k8s-aio-contrail/init.yml b/classes/cluster/k8s-aio-contrail/init.yml
new file mode 100644
index 0000000..2022387
--- /dev/null
+++ b/classes/cluster/k8s-aio-contrail/init.yml
@@ -0,0 +1,5 @@
+classes:
+- cluster.k8s-aio-contrail.kubernetes
+- cluster.k8s-aio-contrail.opencontrail
+- cluster.k8s-aio-contrail.infra
+- cluster.overrides
diff --git a/classes/cluster/k8s_aio_contrail/kubernetes/compute.yml b/classes/cluster/k8s-aio-contrail/kubernetes/compute.yml
similarity index 93%
rename from classes/cluster/k8s_aio_contrail/kubernetes/compute.yml
rename to classes/cluster/k8s-aio-contrail/kubernetes/compute.yml
index 3ab2f0b..599685a 100644
--- a/classes/cluster/k8s_aio_contrail/kubernetes/compute.yml
+++ b/classes/cluster/k8s-aio-contrail/kubernetes/compute.yml
@@ -4,8 +4,8 @@
- system.linux.network.hosts
- system.salt.minion.cert.k8s_client
- system.salt.minion.cert.etcd_client
-- cluster.k8s_aio_contrail.infra
-- cluster.k8s_aio_contrail.opencontrail.compute
+- cluster.k8s-aio-contrail.infra
+- cluster.k8s-aio-contrail.opencontrail.compute
- cluster.overrides
parameters:
linux:
diff --git a/classes/cluster/k8s_aio_contrail/kubernetes/control.yml b/classes/cluster/k8s-aio-contrail/kubernetes/control.yml
similarity index 96%
rename from classes/cluster/k8s_aio_contrail/kubernetes/control.yml
rename to classes/cluster/k8s-aio-contrail/kubernetes/control.yml
index 1388fd0..e69ce70 100644
--- a/classes/cluster/k8s_aio_contrail/kubernetes/control.yml
+++ b/classes/cluster/k8s-aio-contrail/kubernetes/control.yml
@@ -4,7 +4,7 @@
- system.linux.system.repo.docker
- system.salt.minion.cert.etcd_server
- system.kubernetes.master.cluster
-- cluster.k8s_aio_contrail.kubernetes.compute
+- cluster.k8s-aio-contrail.kubernetes.compute
- cluster.overrides
parameters:
_param:
diff --git a/classes/cluster/k8s_aio_contrail/kubernetes/init.yml b/classes/cluster/k8s-aio-contrail/kubernetes/init.yml
similarity index 100%
rename from classes/cluster/k8s_aio_contrail/kubernetes/init.yml
rename to classes/cluster/k8s-aio-contrail/kubernetes/init.yml
diff --git a/classes/cluster/k8s_aio_contrail/opencontrail/compute.yml b/classes/cluster/k8s-aio-contrail/opencontrail/compute.yml
similarity index 100%
rename from classes/cluster/k8s_aio_contrail/opencontrail/compute.yml
rename to classes/cluster/k8s-aio-contrail/opencontrail/compute.yml
diff --git a/classes/cluster/k8s_aio_contrail/opencontrail/control.yml b/classes/cluster/k8s-aio-contrail/opencontrail/control.yml
similarity index 98%
rename from classes/cluster/k8s_aio_contrail/opencontrail/control.yml
rename to classes/cluster/k8s-aio-contrail/opencontrail/control.yml
index 4f008ca..e92d538 100644
--- a/classes/cluster/k8s_aio_contrail/opencontrail/control.yml
+++ b/classes/cluster/k8s-aio-contrail/opencontrail/control.yml
@@ -14,7 +14,7 @@
- system.opencontrail.client.resource.database_node
- system.opencontrail.client.resource.analytics_node
- system.haproxy.proxy.listen.opencontrail.analytics
-- cluster.k8s_aio_contrail.infra
+- cluster.k8s-aio-contrail.infra
parameters:
_param:
keepalived_vip_interface: eth1
diff --git a/classes/cluster/k8s_aio_contrail/opencontrail/init.yml b/classes/cluster/k8s-aio-contrail/opencontrail/init.yml
similarity index 100%
rename from classes/cluster/k8s_aio_contrail/opencontrail/init.yml
rename to classes/cluster/k8s-aio-contrail/opencontrail/init.yml
diff --git a/classes/cluster/k8s_ha_calico_syndic/infra/config.yml b/classes/cluster/k8s-ha-calico-syndic/infra/config.yml
similarity index 98%
rename from classes/cluster/k8s_ha_calico_syndic/infra/config.yml
rename to classes/cluster/k8s-ha-calico-syndic/infra/config.yml
index 0bd7355..4e96666 100644
--- a/classes/cluster/k8s_ha_calico_syndic/infra/config.yml
+++ b/classes/cluster/k8s-ha-calico-syndic/infra/config.yml
@@ -7,7 +7,7 @@
- system.salt.minion.cert.k8s_server
- system.reclass.storage.salt
- system.reclass.storage.system.kubernetes_control_cluster
-- cluster.k8s_ha_calico_syndic
+- cluster.k8s-ha-calico-syndic
parameters:
_param:
salt_master_base_environment: prd
diff --git a/classes/cluster/k8s_ha_calico_syndic/infra/init.yml b/classes/cluster/k8s-ha-calico-syndic/infra/init.yml
similarity index 100%
rename from classes/cluster/k8s_ha_calico_syndic/infra/init.yml
rename to classes/cluster/k8s-ha-calico-syndic/infra/init.yml
diff --git a/classes/cluster/k8s-ha-calico-syndic/init.yml b/classes/cluster/k8s-ha-calico-syndic/init.yml
new file mode 100644
index 0000000..bf509c9
--- /dev/null
+++ b/classes/cluster/k8s-ha-calico-syndic/init.yml
@@ -0,0 +1,4 @@
+classes:
+- cluster.k8s-ha-calico-syndic.kubernetes
+- cluster.k8s-ha-calico-syndic.infra
+- cluster.overrides
diff --git a/classes/cluster/k8s_ha_calico_syndic/kubernetes/compute.yml b/classes/cluster/k8s-ha-calico-syndic/kubernetes/compute.yml
similarity index 97%
rename from classes/cluster/k8s_ha_calico_syndic/kubernetes/compute.yml
rename to classes/cluster/k8s-ha-calico-syndic/kubernetes/compute.yml
index a665ab1..6c55d47 100644
--- a/classes/cluster/k8s_ha_calico_syndic/kubernetes/compute.yml
+++ b/classes/cluster/k8s-ha-calico-syndic/kubernetes/compute.yml
@@ -4,7 +4,7 @@
- system.linux.network.hosts
- system.salt.minion.cert.k8s_client
- system.salt.minion.cert.etcd_client
-- cluster.k8s_ha_calico_syndic
+- cluster.k8s-ha-calico-syndic
parameters:
_param:
kubernetes_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
diff --git a/classes/cluster/k8s_ha_calico_syndic/kubernetes/control.yml b/classes/cluster/k8s-ha-calico-syndic/kubernetes/control.yml
similarity index 92%
rename from classes/cluster/k8s_ha_calico_syndic/kubernetes/control.yml
rename to classes/cluster/k8s-ha-calico-syndic/kubernetes/control.yml
index 1beef82..ab73b9b 100644
--- a/classes/cluster/k8s_ha_calico_syndic/kubernetes/control.yml
+++ b/classes/cluster/k8s-ha-calico-syndic/kubernetes/control.yml
@@ -4,8 +4,8 @@
- system.linux.system.repo.docker
- system.salt.minion.cert.etcd_server
- system.kubernetes.master.cluster
-- cluster.k8s_ha_calico_syndic.kubernetes.compute
-- cluster.k8s_ha_calico_syndic
+- cluster.k8s-ha-calico-syndic.kubernetes.compute
+- cluster.k8s-ha-calico-syndic
parameters:
_param:
keepalived_vip_interface: ${_param:primary_interface}
diff --git a/classes/cluster/k8s_ha_calico_syndic/kubernetes/init.yml b/classes/cluster/k8s-ha-calico-syndic/kubernetes/init.yml
similarity index 100%
rename from classes/cluster/k8s_ha_calico_syndic/kubernetes/init.yml
rename to classes/cluster/k8s-ha-calico-syndic/kubernetes/init.yml
diff --git a/classes/cluster/k8s_ha_calico/MAINTAINERS b/classes/cluster/k8s-ha-calico/MAINTAINERS
similarity index 100%
rename from classes/cluster/k8s_ha_calico/MAINTAINERS
rename to classes/cluster/k8s-ha-calico/MAINTAINERS
diff --git a/classes/cluster/k8s_ha_calico/infra/config.yml b/classes/cluster/k8s-ha-calico/infra/config.yml
similarity index 98%
rename from classes/cluster/k8s_ha_calico/infra/config.yml
rename to classes/cluster/k8s-ha-calico/infra/config.yml
index 23bdbb9..04e2380 100644
--- a/classes/cluster/k8s_ha_calico/infra/config.yml
+++ b/classes/cluster/k8s-ha-calico/infra/config.yml
@@ -7,7 +7,7 @@
- system.salt.minion.cert.k8s_server
- system.reclass.storage.salt
- system.reclass.storage.system.kubernetes_control_cluster
-- cluster.k8s_ha_calico
+- cluster.k8s-ha-calico
parameters:
_param:
salt_master_base_environment: prd
diff --git a/classes/cluster/k8s_ha_calico/infra/init.yml b/classes/cluster/k8s-ha-calico/infra/init.yml
similarity index 100%
rename from classes/cluster/k8s_ha_calico/infra/init.yml
rename to classes/cluster/k8s-ha-calico/infra/init.yml
diff --git a/classes/cluster/k8s-ha-calico/init.yml b/classes/cluster/k8s-ha-calico/init.yml
new file mode 100644
index 0000000..9bab6cd
--- /dev/null
+++ b/classes/cluster/k8s-ha-calico/init.yml
@@ -0,0 +1,4 @@
+classes:
+- cluster.k8s-ha-calico.kubernetes
+- cluster.k8s-ha-calico.infra
+- cluster.overrides
diff --git a/classes/cluster/k8s_aio_calico/kubernetes/compute.yml b/classes/cluster/k8s-ha-calico/kubernetes/compute.yml
similarity index 98%
copy from classes/cluster/k8s_aio_calico/kubernetes/compute.yml
copy to classes/cluster/k8s-ha-calico/kubernetes/compute.yml
index 0190a19..6a1637f 100644
--- a/classes/cluster/k8s_aio_calico/kubernetes/compute.yml
+++ b/classes/cluster/k8s-ha-calico/kubernetes/compute.yml
@@ -4,7 +4,7 @@
- system.linux.network.hosts
- system.salt.minion.cert.k8s_client
- system.salt.minion.cert.etcd_client
-- cluster.k8s_aio_calico
+- cluster.k8s-ha-calico
parameters:
_param:
kubernetes_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
diff --git a/classes/cluster/k8s_ha_calico/kubernetes/control.yml b/classes/cluster/k8s-ha-calico/kubernetes/control.yml
similarity index 95%
rename from classes/cluster/k8s_ha_calico/kubernetes/control.yml
rename to classes/cluster/k8s-ha-calico/kubernetes/control.yml
index c6dd6ab..e45aea5 100644
--- a/classes/cluster/k8s_ha_calico/kubernetes/control.yml
+++ b/classes/cluster/k8s-ha-calico/kubernetes/control.yml
@@ -4,8 +4,8 @@
- system.linux.system.repo.docker
- system.salt.minion.cert.etcd_server
- system.kubernetes.master.cluster
-- cluster.k8s_ha_calico.kubernetes.compute
-- cluster.k8s_ha_calico
+- cluster.k8s-ha-calico.kubernetes.compute
+- cluster.k8s-ha-calico
# FIXME: replace service.helm to system.helm (once properly in reclass)
- service.helm.client
parameters:
diff --git a/classes/cluster/k8s_ha_calico/kubernetes/init.yml b/classes/cluster/k8s-ha-calico/kubernetes/init.yml
similarity index 100%
rename from classes/cluster/k8s_ha_calico/kubernetes/init.yml
rename to classes/cluster/k8s-ha-calico/kubernetes/init.yml
diff --git a/classes/cluster/k8s_ha_contrail/MAINTAINERS b/classes/cluster/k8s-ha-contrail/MAINTAINERS
similarity index 100%
rename from classes/cluster/k8s_ha_contrail/MAINTAINERS
rename to classes/cluster/k8s-ha-contrail/MAINTAINERS
diff --git a/classes/cluster/k8s_ha_contrail/infra/config.yml b/classes/cluster/k8s-ha-contrail/infra/config.yml
similarity index 99%
rename from classes/cluster/k8s_ha_contrail/infra/config.yml
rename to classes/cluster/k8s-ha-contrail/infra/config.yml
index 6e0dbfe..1b9e70d 100644
--- a/classes/cluster/k8s_ha_contrail/infra/config.yml
+++ b/classes/cluster/k8s-ha-contrail/infra/config.yml
@@ -8,7 +8,7 @@
- system.salt.minion.cert.k8s_server
- system.reclass.storage.system.kubernetes_control_cluster
- system.reclass.storage.system.opencontrail_control_cluster
-- cluster.k8s_ha_contrail
+- cluster.k8s-ha-contrail
parameters:
_param:
salt_master_base_environment: prd
diff --git a/classes/cluster/k8s_ha_contrail/infra/init.yml b/classes/cluster/k8s-ha-contrail/infra/init.yml
similarity index 100%
rename from classes/cluster/k8s_ha_contrail/infra/init.yml
rename to classes/cluster/k8s-ha-contrail/infra/init.yml
diff --git a/classes/cluster/k8s_ha_contrail/init.yml b/classes/cluster/k8s-ha-contrail/init.yml
similarity index 65%
rename from classes/cluster/k8s_ha_contrail/init.yml
rename to classes/cluster/k8s-ha-contrail/init.yml
index 7ea51c3..d36ddde 100644
--- a/classes/cluster/k8s_ha_contrail/init.yml
+++ b/classes/cluster/k8s-ha-contrail/init.yml
@@ -1,8 +1,8 @@
classes:
- system.linux.system.single
-- cluster.k8s_ha_contrail.kubernetes
-- cluster.k8s_ha_contrail.opencontrail
-- cluster.k8s_ha_contrail.infra
+- cluster.k8s-ha-contrail.kubernetes
+- cluster.k8s-ha-contrail.opencontrail
+- cluster.k8s-ha-contrail.infra
- system.openssh.server.team.lab
- system.openssh.server.team.tcpcloud
- system.openssh.server.team.mcp_qa
diff --git a/classes/cluster/k8s_ha_contrail/kubernetes/compute.yml b/classes/cluster/k8s-ha-contrail/kubernetes/compute.yml
similarity index 94%
rename from classes/cluster/k8s_ha_contrail/kubernetes/compute.yml
rename to classes/cluster/k8s-ha-contrail/kubernetes/compute.yml
index 1424aec..1006f1b 100644
--- a/classes/cluster/k8s_ha_contrail/kubernetes/compute.yml
+++ b/classes/cluster/k8s-ha-contrail/kubernetes/compute.yml
@@ -4,8 +4,8 @@
- system.linux.network.hosts
- system.salt.minion.cert.k8s_client
- system.salt.minion.cert.etcd_client
-- cluster.k8s_ha_contrail.opencontrail.compute
-- cluster.k8s_ha_contrail
+- cluster.k8s-ha-contrail.opencontrail.compute
+- cluster.k8s-ha-contrail
parameters:
linux:
network:
diff --git a/classes/cluster/k8s_ha_contrail/kubernetes/control.yml b/classes/cluster/k8s-ha-contrail/kubernetes/control.yml
similarity index 94%
rename from classes/cluster/k8s_ha_contrail/kubernetes/control.yml
rename to classes/cluster/k8s-ha-contrail/kubernetes/control.yml
index 7befd55..4776b3b 100644
--- a/classes/cluster/k8s_ha_contrail/kubernetes/control.yml
+++ b/classes/cluster/k8s-ha-contrail/kubernetes/control.yml
@@ -4,8 +4,8 @@
- system.linux.system.repo.docker
- system.salt.minion.cert.etcd_server
- system.kubernetes.master.cluster
-- cluster.k8s_ha_contrail.kubernetes.compute
-- cluster.k8s_ha_contrail
+- cluster.k8s-ha-contrail.kubernetes.compute
+- cluster.k8s-ha-contrail
parameters:
_param:
keepalived_vip_interface: ens3
diff --git a/classes/cluster/k8s_ha_contrail/kubernetes/init.yml b/classes/cluster/k8s-ha-contrail/kubernetes/init.yml
similarity index 100%
rename from classes/cluster/k8s_ha_contrail/kubernetes/init.yml
rename to classes/cluster/k8s-ha-contrail/kubernetes/init.yml
diff --git a/classes/cluster/k8s_aio_contrail/opencontrail/compute.yml b/classes/cluster/k8s-ha-contrail/opencontrail/compute.yml
similarity index 100%
copy from classes/cluster/k8s_aio_contrail/opencontrail/compute.yml
copy to classes/cluster/k8s-ha-contrail/opencontrail/compute.yml
diff --git a/classes/cluster/k8s_aio_contrail/opencontrail/control.yml b/classes/cluster/k8s-ha-contrail/opencontrail/control.yml
similarity index 98%
copy from classes/cluster/k8s_aio_contrail/opencontrail/control.yml
copy to classes/cluster/k8s-ha-contrail/opencontrail/control.yml
index 4f008ca..0c101cc 100644
--- a/classes/cluster/k8s_aio_contrail/opencontrail/control.yml
+++ b/classes/cluster/k8s-ha-contrail/opencontrail/control.yml
@@ -14,7 +14,7 @@
- system.opencontrail.client.resource.database_node
- system.opencontrail.client.resource.analytics_node
- system.haproxy.proxy.listen.opencontrail.analytics
-- cluster.k8s_aio_contrail.infra
+- cluster.k8s-ha-contrail
parameters:
_param:
keepalived_vip_interface: eth1
diff --git a/classes/cluster/k8s_aio_contrail/opencontrail/init.yml b/classes/cluster/k8s-ha-contrail/opencontrail/init.yml
similarity index 100%
copy from classes/cluster/k8s_aio_contrail/opencontrail/init.yml
copy to classes/cluster/k8s-ha-contrail/opencontrail/init.yml
diff --git a/classes/cluster/k8s_aio_calico/init.yml b/classes/cluster/k8s_aio_calico/init.yml
deleted file mode 100644
index de54caf..0000000
--- a/classes/cluster/k8s_aio_calico/init.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-classes:
-- cluster.k8s_aio_calico.kubernetes
-- cluster.k8s_aio_calico.infra
-- cluster.overrides
diff --git a/classes/cluster/k8s_aio_contrail/init.yml b/classes/cluster/k8s_aio_contrail/init.yml
deleted file mode 100644
index d50636e..0000000
--- a/classes/cluster/k8s_aio_contrail/init.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-classes:
-- cluster.k8s_aio_contrail.kubernetes
-- cluster.k8s_aio_contrail.opencontrail
-- cluster.k8s_aio_contrail.infra
-- cluster.overrides
diff --git a/classes/cluster/k8s_ha_calico/init.yml b/classes/cluster/k8s_ha_calico/init.yml
deleted file mode 100644
index c672dd1..0000000
--- a/classes/cluster/k8s_ha_calico/init.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-classes:
-- cluster.k8s_ha_calico.kubernetes
-- cluster.k8s_ha_calico.infra
-- cluster.overrides
diff --git a/classes/cluster/k8s_ha_calico/kubernetes/compute.yml b/classes/cluster/k8s_ha_calico/kubernetes/compute.yml
deleted file mode 100644
index d1ffd64..0000000
--- a/classes/cluster/k8s_ha_calico/kubernetes/compute.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-classes:
-- system.linux.system.repo.docker
-- system.kubernetes.pool.cluster
-- system.linux.network.hosts
-- system.salt.minion.cert.k8s_client
-- system.salt.minion.cert.etcd_client
-- cluster.k8s_ha_calico
-parameters:
- _param:
- kubernetes_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
- kubernetes_calico_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/node:latest
- kubernetes_calico_cni_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/cni:latest
- kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.7.3-1
- docker:
- host:
- pkgs:
- - docker-engine=1.12.6-0~ubuntu-xenial
- - python-docker
- options:
- bip: 172.31.255.1/24
- kubernetes:
- pool:
- network:
- etcd:
- ssl:
- enabled: true
- image: ${_param:kubernetes_calico_image}
- calicoctl:
- image: ${_param:kubernetes_calicoctl_image}
- cni:
- image: ${_param:kubernetes_calico_cni_image}
- common:
- hyperkube:
- image: ${_param:kubernetes_hyperkube_image}
- linux:
- network:
- resolv:
- dns:
- - 10.254.0.10
- - 172.18.176.4
- - 172.18.176.7
- interface:
- primary_interface:
- route:
- kubernetes_services:
- address: 10.254.0.0
- netmask: 255.255.0.0
- gateway: ${_param:single_address}
diff --git a/classes/cluster/k8s_ha_calico_syndic/init.yml b/classes/cluster/k8s_ha_calico_syndic/init.yml
deleted file mode 100644
index 7b55c9f..0000000
--- a/classes/cluster/k8s_ha_calico_syndic/init.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-classes:
-- cluster.k8s_ha_calico_syndic.kubernetes
-- cluster.k8s_ha_calico_syndic.infra
-- cluster.overrides
diff --git a/classes/cluster/k8s_ha_contrail/opencontrail/compute.yml b/classes/cluster/k8s_ha_contrail/opencontrail/compute.yml
deleted file mode 100644
index d6f92b6..0000000
--- a/classes/cluster/k8s_ha_contrail/opencontrail/compute.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-classes:
-- system.linux.system.repo.mcp.contrail
-- system.opencontrail.compute.cluster
-- system.opencontrail.client.cluster
-- system.opencontrail.client.resource.virtual_router
-parameters:
- _param:
- opencontrail_compute_address: ${_param:single_address}
- opencontrail_compute_iface: ens4
- opencontrail_compute_gateway: 172.16.10.1
- opencontrail_compute_dns: 8.8.8.8
- opencontrail:
- common:
- identity:
- engine: k8s
- host: none
- token: none
- password: none
- network:
- engine: k8s
- host: none
- kubernetes:
- pool:
- network:
- hash: 2276df10feae8f09fb50dce3a96fff6c
- linux:
- network:
- concat_iface_files:
- - src: '/etc/network/interfaces.d/50-cloud-init.cfg'
- dst: '/etc/network/interfaces'
\ No newline at end of file
diff --git a/classes/cluster/k8s_ha_contrail/opencontrail/control.yml b/classes/cluster/k8s_ha_contrail/opencontrail/control.yml
deleted file mode 100644
index aa7e12a..0000000
--- a/classes/cluster/k8s_ha_contrail/opencontrail/control.yml
+++ /dev/null
@@ -1,78 +0,0 @@
-classes:
-- system.linux.system.lowmem
-- system.linux.system.repo.cassandra
-- system.linux.system.repo.mcp.contrail
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.trusty
-- system.opencontrail.client.resource.edge_router
-- system.rabbitmq.server.cluster
-- system.opencontrail.control.cluster
-- system.opencontrail.client.cluster
-- system.opencontrail.client.resource.control_node
-- system.opencontrail.client.resource.config_node
-- system.opencontrail.client.resource.database_node
-- system.opencontrail.client.resource.analytics_node
-- system.haproxy.proxy.listen.opencontrail.analytics
-- cluster.k8s_ha_contrail
-parameters:
- _param:
- keepalived_vip_interface: eth1
- cluster_vip_address: ${_param:opencontrail_control_address}
- cluster_local_address: ${_param:single_address}
- cluster_node01_hostname: ${_param:opencontrail_control_node01_hostname}
- cluster_node01_address: ${_param:opencontrail_control_node01_address}
- cluster_node02_hostname: ${_param:opencontrail_control_node02_hostname}
- cluster_node02_address: ${_param:opencontrail_control_node02_address}
- cluster_node03_hostname: ${_param:opencontrail_control_node03_hostname}
- cluster_node03_address: ${_param:opencontrail_control_node03_address}
- rabbitmq_secret_key: password
- rabbitmq_admin_password: password
- opencontrail_router01_hostname: vsrx01.${_param:cluster_domain}
- opencontrail_router01_address: 172.16.10.131
- linux:
- network:
- interface:
- eth1:
- enabled: true
- type: eth
- proto: dhcp
- keepalived:
- cluster:
- instance:
- VIP:
- virtual_router_id: 144
- opencontrail:
- common:
- identity:
- host: none
- engine: k8s
- network:
- engine: k8s
- config:
- network:
- engine: k8s
- identity:
- engine: k8s
- region: none
- host: none
- multi_tenancy: false
- message_queue:
- host: ${_param:opencontrail_control_address}
- web:
- network:
- engine: k8s
- identity:
- engine: k8s
- host: none
- rabbitmq:
- server:
- host:
- '/':
- enabled: true
- user: guest
- password: guest
- policies:
- - name: HA
- pattern: '^(?!amq\.).*'
- definition: '{"ha-mode": "all", "message-ttl": 120000}'
diff --git a/classes/cluster/k8s_ha_contrail/opencontrail/init.yml b/classes/cluster/k8s_ha_contrail/opencontrail/init.yml
deleted file mode 100644
index cd3445a..0000000
--- a/classes/cluster/k8s_ha_contrail/opencontrail/init.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-parameters:
- _param:
- opencontrail_version: 3.0
- opencontrail_control_hostname: ntw
- opencontrail_control_node01_hostname: ntw01
- opencontrail_control_node02_hostname: ntw02
- opencontrail_control_node03_hostname: ntw03
-
- opencontrail_control_address: 172.16.10.252
- opencontrail_control_node01_address: 172.16.10.110
- opencontrail_control_node02_address: 172.16.10.111
- opencontrail_control_node03_address: 172.16.10.112
-
- keystone_admin_password: none
- opencontrail_stats_password: password
- keystone_service_token: none
- openstack_version: mitaka
- openstack_control_address: none
- keystone_admin_password: none
-
- linux:
- network:
- host:
- ntw:
- address: ${_param:opencontrail_control_address}
- names:
- - ${_param:opencontrail_control_hostname}
- - ${_param:opencontrail_control_hostname}.${_param:cluster_domain}
- ntw01:
- address: ${_param:opencontrail_control_node01_address}
- names:
- - ${_param:opencontrail_control_node01_hostname}
- - ${_param:opencontrail_control_node01_hostname}.${_param:cluster_domain}
- ntw02:
- address: ${_param:opencontrail_control_node02_address}
- names:
- - ${_param:opencontrail_control_node02_hostname}
- - ${_param:opencontrail_control_node02_hostname}.${_param:cluster_domain}
- ntw03:
- address: ${_param:opencontrail_control_node03_address}
- names:
- - ${_param:opencontrail_control_node03_hostname}
- - ${_param:opencontrail_control_node03_hostname}.${_param:cluster_domain}
diff --git a/classes/cluster/model_manager/infra/config.yml b/classes/cluster/model-manager/infra/config.yml
similarity index 97%
rename from classes/cluster/model_manager/infra/config.yml
rename to classes/cluster/model-manager/infra/config.yml
index 246ef01..ac19fcc 100644
--- a/classes/cluster/model_manager/infra/config.yml
+++ b/classes/cluster/model-manager/infra/config.yml
@@ -9,8 +9,8 @@
- system.salt.minion.ca.salt_master
- system.salt.minion.cert.proxy
- system.sphinx.server.doc.reclass
-- cluster.model_manager.model_manager.proxy
-- cluster.model_manager
+- cluster.model-manager.model_manager.proxy
+- cluster.model-manager
parameters:
_param:
reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
diff --git a/classes/cluster/model_manager/infra/init.yml b/classes/cluster/model-manager/infra/init.yml
similarity index 100%
rename from classes/cluster/model_manager/infra/init.yml
rename to classes/cluster/model-manager/infra/init.yml
diff --git a/classes/cluster/model_manager/init.yml b/classes/cluster/model-manager/init.yml
similarity index 70%
copy from classes/cluster/model_manager/init.yml
copy to classes/cluster/model-manager/init.yml
index f225d24..8a17052 100644
--- a/classes/cluster/model_manager/init.yml
+++ b/classes/cluster/model-manager/init.yml
@@ -3,7 +3,7 @@
- system.openssh.server.team.lab
- system.openssh.server.team.tcpcloud
- system.openssh.server.team.mcp_qa
-- cluster.model_manager.infra
-- cluster.model_manager.model_manager
+- cluster.model-manager.infra
+- cluster.model-manager.model_manager
- cluster.overrides
diff --git a/classes/cluster/model_manager/model_manager/dashboard.yml b/classes/cluster/model-manager/model_manager/dashboard.yml
similarity index 88%
rename from classes/cluster/model_manager/model_manager/dashboard.yml
rename to classes/cluster/model-manager/model_manager/dashboard.yml
index 4dbdcee..6377ecd 100644
--- a/classes/cluster/model_manager/model_manager/dashboard.yml
+++ b/classes/cluster/model-manager/model_manager/dashboard.yml
@@ -4,8 +4,8 @@
- system.linux.system.repo.saltstack.xenial
- system.linux.network.hosts
- system.model_manager.server.integration
-- cluster.model_manager.model_manager.identity
-- cluster.model_manager
+- cluster.model-manager.model_manager.identity
+- cluster.model-manager
parameters:
model_manager:
server:
diff --git a/classes/cluster/model_manager/model_manager/identity.yml b/classes/cluster/model-manager/model_manager/identity.yml
similarity index 96%
rename from classes/cluster/model_manager/model_manager/identity.yml
rename to classes/cluster/model-manager/model_manager/identity.yml
index c2d2f27..5be2df3 100644
--- a/classes/cluster/model_manager/model_manager/identity.yml
+++ b/classes/cluster/model-manager/model_manager/identity.yml
@@ -5,7 +5,7 @@
- system.keystone.server.single
- system.keystone.client.core
- system.keystone.client.service.keystone
-- cluster.model_manager
+- cluster.model-manager
parameters:
keystone:
server:
diff --git a/classes/cluster/model_manager/model_manager/init.yml b/classes/cluster/model-manager/model_manager/init.yml
similarity index 100%
rename from classes/cluster/model_manager/model_manager/init.yml
rename to classes/cluster/model-manager/model_manager/init.yml
diff --git a/classes/cluster/model_manager/model_manager/proxy.yml b/classes/cluster/model-manager/model_manager/proxy.yml
similarity index 99%
rename from classes/cluster/model_manager/model_manager/proxy.yml
rename to classes/cluster/model-manager/model_manager/proxy.yml
index c4cac3e..b884256 100644
--- a/classes/cluster/model_manager/model_manager/proxy.yml
+++ b/classes/cluster/model-manager/model_manager/proxy.yml
@@ -2,7 +2,7 @@
- system.nginx.server.single
- system.nginx.server.proxy.model_manager_web
- system.salt.minion.cert.proxy
-- cluster.model_manager
+- cluster.model-manager
parameters:
_param:
nginx_proxy_ssl:
diff --git a/classes/cluster/os_aio_contrail/infra/config.yml b/classes/cluster/os-aio-contrail/infra/config.yml
similarity index 98%
rename from classes/cluster/os_aio_contrail/infra/config.yml
rename to classes/cluster/os-aio-contrail/infra/config.yml
index 8accdcf..9ff13c5 100755
--- a/classes/cluster/os_aio_contrail/infra/config.yml
+++ b/classes/cluster/os-aio-contrail/infra/config.yml
@@ -28,8 +28,8 @@
#- system.mysql.client.single
- system.reclass.storage.system.openstack_control_single
- system.reclass.storage.system.opencontrail_control_cluster
-- cluster.os_aio_contrail.openstack.proxy
-- cluster.os_aio_contrail
+- cluster.os-aio-contrail.openstack.proxy
+- cluster.os-aio-contrail
parameters:
_param:
reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
diff --git a/classes/cluster/os_aio_contrail/infra/init.yml b/classes/cluster/os-aio-contrail/infra/init.yml
similarity index 100%
rename from classes/cluster/os_aio_contrail/infra/init.yml
rename to classes/cluster/os-aio-contrail/infra/init.yml
diff --git a/classes/cluster/os_aio_contrail/init.yml b/classes/cluster/os-aio-contrail/init.yml
similarity index 68%
rename from classes/cluster/os_aio_contrail/init.yml
rename to classes/cluster/os-aio-contrail/init.yml
index d1e7cb9..eb4af4a 100755
--- a/classes/cluster/os_aio_contrail/init.yml
+++ b/classes/cluster/os-aio-contrail/init.yml
@@ -5,7 +5,7 @@
- system.openssh.server.team.lab
- system.openssh.server.team.tcpcloud
- system.openssh.server.team.mcp_qa
-- cluster.os_aio_contrail.infra
-- cluster.os_aio_contrail.opencontrail
-- cluster.os_aio_contrail.openstack
+- cluster.os-aio-contrail.infra
+- cluster.os-aio-contrail.opencontrail
+- cluster.os-aio-contrail.openstack
- cluster.overrides
diff --git a/classes/cluster/os_aio_contrail/opencontrail/control.yml b/classes/cluster/os-aio-contrail/opencontrail/control.yml
similarity index 98%
rename from classes/cluster/os_aio_contrail/opencontrail/control.yml
rename to classes/cluster/os-aio-contrail/opencontrail/control.yml
index 8bf437f..7eed258 100644
--- a/classes/cluster/os_aio_contrail/opencontrail/control.yml
+++ b/classes/cluster/os-aio-contrail/opencontrail/control.yml
@@ -13,7 +13,7 @@
- system.opencontrail.client.resource.database_node
- system.opencontrail.client.resource.analytics_node
- system.haproxy.proxy.listen.opencontrail.analytics
-- cluster.os_aio_contrail
+- cluster.os-aio-contrail
parameters:
_param:
openstack_version: mitaka
diff --git a/classes/cluster/os_aio_contrail/opencontrail/init.yml b/classes/cluster/os-aio-contrail/opencontrail/init.yml
similarity index 100%
rename from classes/cluster/os_aio_contrail/opencontrail/init.yml
rename to classes/cluster/os-aio-contrail/opencontrail/init.yml
diff --git a/classes/cluster/os_aio_contrail/openstack/compute.yml b/classes/cluster/os-aio-contrail/openstack/compute.yml
similarity index 99%
rename from classes/cluster/os_aio_contrail/openstack/compute.yml
rename to classes/cluster/os-aio-contrail/openstack/compute.yml
index dd0bec2..9cff45b 100755
--- a/classes/cluster/os_aio_contrail/openstack/compute.yml
+++ b/classes/cluster/os-aio-contrail/openstack/compute.yml
@@ -7,7 +7,7 @@
- system.opencontrail.compute.cluster
- system.opencontrail.client.cluster
- system.opencontrail.client.resource.virtual_router
-- cluster.os_aio_contrail
+- cluster.os-aio-contrail
parameters:
_param:
cluster_local_address: ${_param:single_address}
diff --git a/classes/cluster/os_aio_contrail/openstack/control.yml b/classes/cluster/os-aio-contrail/openstack/control.yml
similarity index 98%
rename from classes/cluster/os_aio_contrail/openstack/control.yml
rename to classes/cluster/os-aio-contrail/openstack/control.yml
index 84bb3c4..c1d42eb 100755
--- a/classes/cluster/os_aio_contrail/openstack/control.yml
+++ b/classes/cluster/os-aio-contrail/openstack/control.yml
@@ -24,8 +24,8 @@
- system.mysql.client.database.heat
- service.mysql.server.single
- system.mysql.client
-- cluster.os_aio_contrail.openstack.dashboard
-- cluster.os_aio_contrail
+- cluster.os-aio-contrail.openstack.dashboard
+- cluster.os-aio-contrail
parameters:
mysql:
server:
diff --git a/classes/cluster/os_aio_contrail/openstack/dashboard.yml b/classes/cluster/os-aio-contrail/openstack/dashboard.yml
similarity index 95%
rename from classes/cluster/os_aio_contrail/openstack/dashboard.yml
rename to classes/cluster/os-aio-contrail/openstack/dashboard.yml
index bcca560..5e7c16f 100755
--- a/classes/cluster/os_aio_contrail/openstack/dashboard.yml
+++ b/classes/cluster/os-aio-contrail/openstack/dashboard.yml
@@ -6,7 +6,7 @@
- system.horizon.server.single
- system.horizon.server.plugin.contrail
- system.horizon.server.plugin.overrides
-- cluster.os_aio_contrail
+- cluster.os-aio-contrail
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
diff --git a/classes/cluster/os_aio_contrail/openstack/init.yml b/classes/cluster/os-aio-contrail/openstack/init.yml
similarity index 100%
rename from classes/cluster/os_aio_contrail/openstack/init.yml
rename to classes/cluster/os-aio-contrail/openstack/init.yml
diff --git a/classes/cluster/os_aio_contrail/openstack/proxy.yml b/classes/cluster/os-aio-contrail/openstack/proxy.yml
similarity index 94%
rename from classes/cluster/os_aio_contrail/openstack/proxy.yml
rename to classes/cluster/os-aio-contrail/openstack/proxy.yml
index f732096..a4ea571 100755
--- a/classes/cluster/os_aio_contrail/openstack/proxy.yml
+++ b/classes/cluster/os-aio-contrail/openstack/proxy.yml
@@ -5,7 +5,7 @@
- system.nginx.server.proxy.openstack_vnc
- system.nginx.server.proxy.openstack_web
- system.salt.minion.cert.proxy
-- cluster.os_aio_contrail
+- cluster.os-aio-contrail
parameters:
_param:
nginx_proxy_ssl:
diff --git a/classes/cluster/os_aio_ovs/infra/config.yml b/classes/cluster/os-aio-ovs/infra/config.yml
similarity index 97%
rename from classes/cluster/os_aio_ovs/infra/config.yml
rename to classes/cluster/os-aio-ovs/infra/config.yml
index 353009a..cd1c00a 100644
--- a/classes/cluster/os_aio_ovs/infra/config.yml
+++ b/classes/cluster/os-aio-ovs/infra/config.yml
@@ -26,8 +26,8 @@
- system.keystone.client.service.nova21
- system.keystone.client.service.nova-placement
- system.reclass.storage.system.openstack_control_single
-- cluster.os_aio_ovs.openstack.proxy
-- cluster.os_aio_ovs
+- cluster.os-aio-ovs.openstack.proxy
+- cluster.os-aio-ovs
parameters:
_param:
reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
@@ -162,7 +162,7 @@
# external_address: 10.16.0.110
# openstack_proxy_node01:
# classes:
- # - cluster.os_aio_ovs.openstack.proxy
+ # - cluster.os-aio-ovs.openstack.proxy
# params:
# linux_system_codename: xenial
diff --git a/classes/cluster/os_aio_ovs/infra/init.yml b/classes/cluster/os-aio-ovs/infra/init.yml
similarity index 100%
rename from classes/cluster/os_aio_ovs/infra/init.yml
rename to classes/cluster/os-aio-ovs/infra/init.yml
diff --git a/classes/cluster/os_aio_ovs/init.yml b/classes/cluster/os-aio-ovs/init.yml
similarity index 73%
rename from classes/cluster/os_aio_ovs/init.yml
rename to classes/cluster/os-aio-ovs/init.yml
index 93793ce..c2785b7 100644
--- a/classes/cluster/os_aio_ovs/init.yml
+++ b/classes/cluster/os-aio-ovs/init.yml
@@ -1,7 +1,7 @@
classes:
- system.linux.system.single
-- cluster.os_aio_ovs.infra
-- cluster.os_aio_ovs.openstack
+- cluster.os-aio-ovs.infra
+- cluster.os-aio-ovs.openstack
- system.openssh.server.team.lab
- system.openssh.server.team.tcpcloud
- system.openssh.server.team.mcp_qa
diff --git a/classes/cluster/os_aio_ovs/openstack/compute.yml b/classes/cluster/os-aio-ovs/openstack/compute.yml
similarity index 99%
rename from classes/cluster/os_aio_ovs/openstack/compute.yml
rename to classes/cluster/os-aio-ovs/openstack/compute.yml
index 605d429..0e39e1d 100644
--- a/classes/cluster/os_aio_ovs/openstack/compute.yml
+++ b/classes/cluster/os-aio-ovs/openstack/compute.yml
@@ -4,7 +4,7 @@
- system.linux.system.repo.saltstack.xenial
- system.linux.network.hosts
- service.neutron.compute.single
-- cluster.os_aio_ovs
+- cluster.os-aio-ovs
parameters:
_param:
primary_interface: ens4
diff --git a/classes/cluster/os_aio_ovs/openstack/control.yml b/classes/cluster/os-aio-ovs/openstack/control.yml
similarity index 98%
rename from classes/cluster/os_aio_ovs/openstack/control.yml
rename to classes/cluster/os-aio-ovs/openstack/control.yml
index d5ebcaa..9e00d09 100644
--- a/classes/cluster/os_aio_ovs/openstack/control.yml
+++ b/classes/cluster/os-aio-ovs/openstack/control.yml
@@ -37,8 +37,8 @@
- service.mysql.server.single
- system.mysql.client
-- cluster.os_aio_ovs.openstack.dashboard
-- cluster.os_aio_ovs
+- cluster.os-aio-ovs.openstack.dashboard
+- cluster.os-aio-ovs
parameters:
# _param:
# galera_server_cluster_name: galeracluster
diff --git a/classes/cluster/sl_os_ovs/openstack/dashboard.yml b/classes/cluster/os-aio-ovs/openstack/dashboard.yml
similarity index 95%
copy from classes/cluster/sl_os_ovs/openstack/dashboard.yml
copy to classes/cluster/os-aio-ovs/openstack/dashboard.yml
index cb3aa56..1995656 100644
--- a/classes/cluster/sl_os_ovs/openstack/dashboard.yml
+++ b/classes/cluster/os-aio-ovs/openstack/dashboard.yml
@@ -4,7 +4,7 @@
- system.linux.system.repo.mcp.extra
- system.linux.system.repo.saltstack.xenial
- system.horizon.server.single
-- cluster.sl_os_ovs
+- cluster.os-aio-ovs
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
diff --git a/classes/cluster/os_aio_ovs/openstack/gateway.yml b/classes/cluster/os-aio-ovs/openstack/gateway.yml
similarity index 98%
rename from classes/cluster/os_aio_ovs/openstack/gateway.yml
rename to classes/cluster/os-aio-ovs/openstack/gateway.yml
index 37918a2..b167a48 100644
--- a/classes/cluster/os_aio_ovs/openstack/gateway.yml
+++ b/classes/cluster/os-aio-ovs/openstack/gateway.yml
@@ -3,7 +3,7 @@
- system.linux.system.repo.mcp.extra
- system.linux.system.repo.saltstack.xenial
- service.neutron.gateway.single
-- cluster.os_aio_ovs
+- cluster.os-aio-ovs
parameters:
_param:
primary_interface: ens4
diff --git a/classes/cluster/os_aio_ovs/openstack/init.yml b/classes/cluster/os-aio-ovs/openstack/init.yml
similarity index 100%
rename from classes/cluster/os_aio_ovs/openstack/init.yml
rename to classes/cluster/os-aio-ovs/openstack/init.yml
diff --git a/classes/cluster/os_ha_ovs/openstack/proxy.yml b/classes/cluster/os-aio-ovs/openstack/proxy.yml
similarity index 94%
copy from classes/cluster/os_ha_ovs/openstack/proxy.yml
copy to classes/cluster/os-aio-ovs/openstack/proxy.yml
index a819195..132e382 100644
--- a/classes/cluster/os_ha_ovs/openstack/proxy.yml
+++ b/classes/cluster/os-aio-ovs/openstack/proxy.yml
@@ -4,7 +4,7 @@
- system.nginx.server.proxy.openstack_vnc
- system.nginx.server.proxy.openstack_web
- system.salt.minion.cert.proxy
-- cluster.os_ha_ovs
+- cluster.os-aio-ovs
parameters:
_param:
nginx_proxy_ssl:
diff --git a/classes/cluster/os_ha_contrail_40/infra/config.yml b/classes/cluster/os-ha-contrail-40/infra/config.yml
similarity index 95%
rename from classes/cluster/os_ha_contrail_40/infra/config.yml
rename to classes/cluster/os-ha-contrail-40/infra/config.yml
index 377bb15..a0d4e1b 100644
--- a/classes/cluster/os_ha_contrail_40/infra/config.yml
+++ b/classes/cluster/os-ha-contrail-40/infra/config.yml
@@ -33,8 +33,8 @@
- system.mysql.client.database.neutron
- system.reclass.storage.system.openstack_control_cluster
- system.reclass.storage.system.opencontrail_control_cluster
-- cluster.os_ha_contrail_40.openstack.proxy
-- cluster.os_ha_contrail_40
+- cluster.os-ha-contrail-40.openstack.proxy
+- cluster.os-ha-contrail-40
parameters:
_param:
reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
@@ -139,7 +139,7 @@
openstack_control_node01:
classes:
- service.galera.master.cluster
- - cluster.os_ha_contrail_40.openstack.dashboard
+ - cluster.os-ha-contrail-40.openstack.dashboard
params:
mysql_cluster_role: master
linux_system_codename: xenial
@@ -147,7 +147,7 @@
openstack_control_node02:
classes:
- service.galera.slave.cluster
- - cluster.os_ha_contrail_40.openstack.dashboard
+ - cluster.os-ha-contrail-40.openstack.dashboard
params:
mysql_cluster_role: slave
linux_system_codename: xenial
@@ -155,7 +155,7 @@
openstack_control_node03:
classes:
- service.galera.slave.cluster
- - cluster.os_ha_contrail_40.openstack.dashboard
+ - cluster.os-ha-contrail-40.openstack.dashboard
params:
mysql_cluster_role: slave
linux_system_codename: xenial
diff --git a/classes/cluster/os_ha_contrail_40/infra/init.yml b/classes/cluster/os-ha-contrail-40/infra/init.yml
similarity index 100%
rename from classes/cluster/os_ha_contrail_40/infra/init.yml
rename to classes/cluster/os-ha-contrail-40/infra/init.yml
diff --git a/classes/cluster/os_ha_contrail_40/init.yml b/classes/cluster/os-ha-contrail-40/init.yml
similarity index 67%
rename from classes/cluster/os_ha_contrail_40/init.yml
rename to classes/cluster/os-ha-contrail-40/init.yml
index 610e351..b7c1997 100644
--- a/classes/cluster/os_ha_contrail_40/init.yml
+++ b/classes/cluster/os-ha-contrail-40/init.yml
@@ -5,7 +5,7 @@
- system.openssh.server.team.lab
- system.openssh.server.team.tcpcloud
- system.openssh.server.team.mcp_qa
-- cluster.os_ha_contrail_40.infra
-- cluster.os_ha_contrail_40.opencontrail
-- cluster.os_ha_contrail_40.openstack
+- cluster.os-ha-contrail-40.infra
+- cluster.os-ha-contrail-40.opencontrail
+- cluster.os-ha-contrail-40.openstack
- cluster.overrides
diff --git a/classes/cluster/os_ha_contrail_40/opencontrail/control.yml b/classes/cluster/os-ha-contrail-40/opencontrail/control.yml
similarity index 98%
rename from classes/cluster/os_ha_contrail_40/opencontrail/control.yml
rename to classes/cluster/os-ha-contrail-40/opencontrail/control.yml
index f83d14b..1848dc3 100644
--- a/classes/cluster/os_ha_contrail_40/opencontrail/control.yml
+++ b/classes/cluster/os-ha-contrail-40/opencontrail/control.yml
@@ -13,7 +13,7 @@
- system.opencontrail.client.resource.database_node
- system.opencontrail.client.resource.analytics_node
- system.haproxy.proxy.listen.opencontrail.analytics
-- cluster.os_ha_contrail_40
+- cluster.os-ha-contrail-40
parameters:
_param:
keepalived_vip_interface: ${_param:opencontrail_control_interface_name}
diff --git a/classes/cluster/os_ha_contrail_40/opencontrail/init.yml b/classes/cluster/os-ha-contrail-40/opencontrail/init.yml
similarity index 100%
rename from classes/cluster/os_ha_contrail_40/opencontrail/init.yml
rename to classes/cluster/os-ha-contrail-40/opencontrail/init.yml
diff --git a/classes/cluster/os_ha_contrail_40/openstack/compute.yml b/classes/cluster/os-ha-contrail-40/openstack/compute.yml
similarity index 98%
rename from classes/cluster/os_ha_contrail_40/openstack/compute.yml
rename to classes/cluster/os-ha-contrail-40/openstack/compute.yml
index 3a51815..30613d3 100644
--- a/classes/cluster/os_ha_contrail_40/openstack/compute.yml
+++ b/classes/cluster/os-ha-contrail-40/openstack/compute.yml
@@ -9,7 +9,7 @@
- system.opencontrail.client.cluster
- system.opencontrail.client.resource.virtual_router
- service.opencontrail.compute.cluster
-- cluster.os_ha_contrail_40
+- cluster.os-ha-contrail-40
parameters:
_param:
cluster_vip_address: ${_param:openstack_control_address}
diff --git a/classes/cluster/os_ha_contrail/openstack/control.yml b/classes/cluster/os-ha-contrail-40/openstack/control.yml
old mode 100755
new mode 100644
similarity index 99%
rename from classes/cluster/os_ha_contrail/openstack/control.yml
rename to classes/cluster/os-ha-contrail-40/openstack/control.yml
index 408327b..732a6a1
--- a/classes/cluster/os_ha_contrail/openstack/control.yml
+++ b/classes/cluster/os-ha-contrail-40/openstack/control.yml
@@ -31,7 +31,7 @@
- system.galera.server.database.nova
- system.galera.server.database.designate
- system.haproxy.proxy.listen.openstack.nova-placement
-- cluster.os_ha_contrail
+- cluster.os-ha-contrail-40
parameters:
_param:
keepalived_vip_interface: ens4
diff --git a/classes/cluster/os_ha_contrail_40/openstack/dashboard.yml b/classes/cluster/os-ha-contrail-40/openstack/dashboard.yml
similarity index 94%
rename from classes/cluster/os_ha_contrail_40/openstack/dashboard.yml
rename to classes/cluster/os-ha-contrail-40/openstack/dashboard.yml
index 57dd254..cac5ccd 100644
--- a/classes/cluster/os_ha_contrail_40/openstack/dashboard.yml
+++ b/classes/cluster/os-ha-contrail-40/openstack/dashboard.yml
@@ -6,7 +6,7 @@
- system.horizon.server.cluster
- system.horizon.server.plugin.contrail
- system.horizon.server.plugin.overrides
-- cluster.os_ha_contrail_40
+- cluster.os-ha-contrail-40
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
diff --git a/classes/cluster/os_ha_contrail_40/openstack/init.yml b/classes/cluster/os-ha-contrail-40/openstack/init.yml
similarity index 100%
rename from classes/cluster/os_ha_contrail_40/openstack/init.yml
rename to classes/cluster/os-ha-contrail-40/openstack/init.yml
diff --git a/classes/cluster/os_ha_contrail_40/openstack/proxy.yml b/classes/cluster/os-ha-contrail-40/openstack/proxy.yml
similarity index 94%
rename from classes/cluster/os_ha_contrail_40/openstack/proxy.yml
rename to classes/cluster/os-ha-contrail-40/openstack/proxy.yml
index bb121e2..cb9aff6 100644
--- a/classes/cluster/os_ha_contrail_40/openstack/proxy.yml
+++ b/classes/cluster/os-ha-contrail-40/openstack/proxy.yml
@@ -5,7 +5,7 @@
- system.nginx.server.proxy.openstack_vnc
- system.nginx.server.proxy.openstack_web
- system.salt.minion.cert.proxy
-- cluster.os_ha_contrail_40
+- cluster.os-ha-contrail-40
parameters:
_param:
cluster_vip_address: ${_param:openstack_proxy_address}
diff --git a/classes/cluster/os_ha_contrail/infra/config.yml b/classes/cluster/os-ha-contrail/infra/config.yml
similarity index 95%
rename from classes/cluster/os_ha_contrail/infra/config.yml
rename to classes/cluster/os-ha-contrail/infra/config.yml
index 7922d3d..28d7e3b 100755
--- a/classes/cluster/os_ha_contrail/infra/config.yml
+++ b/classes/cluster/os-ha-contrail/infra/config.yml
@@ -33,8 +33,8 @@
- system.mysql.client.database.neutron
- system.reclass.storage.system.openstack_control_cluster
- system.reclass.storage.system.opencontrail_control_cluster
-- cluster.os_ha_contrail.openstack.proxy
-- cluster.os_ha_contrail
+- cluster.os-ha-contrail.openstack.proxy
+- cluster.os-ha-contrail
parameters:
_param:
reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
@@ -132,7 +132,7 @@
openstack_control_node01:
classes:
- service.galera.master.cluster
- - cluster.os_ha_contrail.openstack.dashboard
+ - cluster.os-ha-contrail.openstack.dashboard
params:
mysql_cluster_role: master
linux_system_codename: xenial
@@ -140,7 +140,7 @@
openstack_control_node02:
classes:
- service.galera.slave.cluster
- - cluster.os_ha_contrail.openstack.dashboard
+ - cluster.os-ha-contrail.openstack.dashboard
params:
mysql_cluster_role: slave
linux_system_codename: xenial
@@ -148,7 +148,7 @@
openstack_control_node03:
classes:
- service.galera.slave.cluster
- - cluster.os_ha_contrail.openstack.dashboard
+ - cluster.os-ha-contrail.openstack.dashboard
params:
mysql_cluster_role: slave
linux_system_codename: xenial
diff --git a/classes/cluster/os_ha_contrail/infra/init.yml b/classes/cluster/os-ha-contrail/infra/init.yml
similarity index 100%
rename from classes/cluster/os_ha_contrail/infra/init.yml
rename to classes/cluster/os-ha-contrail/infra/init.yml
diff --git a/classes/cluster/os_ha_contrail/init.yml b/classes/cluster/os-ha-contrail/init.yml
similarity index 69%
rename from classes/cluster/os_ha_contrail/init.yml
rename to classes/cluster/os-ha-contrail/init.yml
index b07200b..5e876d7 100755
--- a/classes/cluster/os_ha_contrail/init.yml
+++ b/classes/cluster/os-ha-contrail/init.yml
@@ -5,7 +5,7 @@
- system.openssh.server.team.lab
- system.openssh.server.team.tcpcloud
- system.openssh.server.team.mcp_qa
-- cluster.os_ha_contrail.infra
-- cluster.os_ha_contrail.opencontrail
-- cluster.os_ha_contrail.openstack
+- cluster.os-ha-contrail.infra
+- cluster.os-ha-contrail.opencontrail
+- cluster.os-ha-contrail.openstack
- cluster.overrides
diff --git a/classes/cluster/os_aio_contrail/opencontrail/control.yml b/classes/cluster/os-ha-contrail/opencontrail/control.yml
similarity index 98%
copy from classes/cluster/os_aio_contrail/opencontrail/control.yml
copy to classes/cluster/os-ha-contrail/opencontrail/control.yml
index 8bf437f..a281452 100644
--- a/classes/cluster/os_aio_contrail/opencontrail/control.yml
+++ b/classes/cluster/os-ha-contrail/opencontrail/control.yml
@@ -13,7 +13,7 @@
- system.opencontrail.client.resource.database_node
- system.opencontrail.client.resource.analytics_node
- system.haproxy.proxy.listen.opencontrail.analytics
-- cluster.os_aio_contrail
+- cluster.os-ha-contrail
parameters:
_param:
openstack_version: mitaka
diff --git a/classes/cluster/os_ha_contrail/opencontrail/init.yml b/classes/cluster/os-ha-contrail/opencontrail/init.yml
similarity index 100%
rename from classes/cluster/os_ha_contrail/opencontrail/init.yml
rename to classes/cluster/os-ha-contrail/opencontrail/init.yml
diff --git a/classes/cluster/os_ha_contrail/openstack/compute.yml b/classes/cluster/os-ha-contrail/openstack/compute.yml
similarity index 98%
rename from classes/cluster/os_ha_contrail/openstack/compute.yml
rename to classes/cluster/os-ha-contrail/openstack/compute.yml
index 75921c9..f32f983 100755
--- a/classes/cluster/os_ha_contrail/openstack/compute.yml
+++ b/classes/cluster/os-ha-contrail/openstack/compute.yml
@@ -9,7 +9,7 @@
- system.opencontrail.client.cluster
- system.opencontrail.client.resource.virtual_router
- service.opencontrail.compute.cluster
-- cluster.os_ha_contrail
+- cluster.os-ha-contrail
parameters:
_param:
cluster_vip_address: ${_param:openstack_control_address}
diff --git a/classes/cluster/os_ha_contrail/openstack/control.yml b/classes/cluster/os-ha-contrail/openstack/control.yml
similarity index 99%
copy from classes/cluster/os_ha_contrail/openstack/control.yml
copy to classes/cluster/os-ha-contrail/openstack/control.yml
index 408327b..2b6c6f8 100755
--- a/classes/cluster/os_ha_contrail/openstack/control.yml
+++ b/classes/cluster/os-ha-contrail/openstack/control.yml
@@ -31,7 +31,7 @@
- system.galera.server.database.nova
- system.galera.server.database.designate
- system.haproxy.proxy.listen.openstack.nova-placement
-- cluster.os_ha_contrail
+- cluster.os-ha-contrail
parameters:
_param:
keepalived_vip_interface: ens4
diff --git a/classes/cluster/os_ha_contrail/openstack/dashboard.yml b/classes/cluster/os-ha-contrail/openstack/dashboard.yml
similarity index 95%
rename from classes/cluster/os_ha_contrail/openstack/dashboard.yml
rename to classes/cluster/os-ha-contrail/openstack/dashboard.yml
index 0c4cb38..1be0a9c 100755
--- a/classes/cluster/os_ha_contrail/openstack/dashboard.yml
+++ b/classes/cluster/os-ha-contrail/openstack/dashboard.yml
@@ -6,7 +6,7 @@
- system.horizon.server.cluster
- system.horizon.server.plugin.contrail
- system.horizon.server.plugin.overrides
-- cluster.os_ha_contrail
+- cluster.os-ha-contrail
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
diff --git a/classes/cluster/os_ha_contrail/openstack/init.yml b/classes/cluster/os-ha-contrail/openstack/init.yml
similarity index 100%
rename from classes/cluster/os_ha_contrail/openstack/init.yml
rename to classes/cluster/os-ha-contrail/openstack/init.yml
diff --git a/classes/cluster/sl_os_contrail/openstack/proxy.yml b/classes/cluster/os-ha-contrail/openstack/proxy.yml
similarity index 95%
copy from classes/cluster/sl_os_contrail/openstack/proxy.yml
copy to classes/cluster/os-ha-contrail/openstack/proxy.yml
index 2c521f6..23c0c2b 100755
--- a/classes/cluster/sl_os_contrail/openstack/proxy.yml
+++ b/classes/cluster/os-ha-contrail/openstack/proxy.yml
@@ -5,7 +5,7 @@
- system.nginx.server.proxy.openstack_vnc
- system.nginx.server.proxy.openstack_web
- system.salt.minion.cert.proxy
-- cluster.sl_os_contrail
+- cluster.os-ha-contrail
parameters:
_param:
cluster_vip_address: ${_param:openstack_proxy_address}
diff --git a/classes/cluster/os_ha_ovs_syndic/infra/config.yml b/classes/cluster/os-ha-ovs-syndic/infra/config.yml
similarity index 98%
rename from classes/cluster/os_ha_ovs_syndic/infra/config.yml
rename to classes/cluster/os-ha-ovs-syndic/infra/config.yml
index 72d0c50..43ee1d7 100644
--- a/classes/cluster/os_ha_ovs_syndic/infra/config.yml
+++ b/classes/cluster/os-ha-ovs-syndic/infra/config.yml
@@ -31,8 +31,8 @@
- system.mysql.client.database.nova_api
- system.mysql.client.database.neutron
- system.reclass.storage.system.openstack_control_cluster
-- cluster.os_ha_ovs_syndic.openstack.proxy
-- cluster.os_ha_ovs_syndic
+- cluster.os-ha-ovs-syndic.openstack.proxy
+- cluster.os-ha-ovs-syndic
parameters:
_param:
reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
diff --git a/classes/cluster/os_ha_ovs_syndic/infra/init.yml b/classes/cluster/os-ha-ovs-syndic/infra/init.yml
similarity index 100%
rename from classes/cluster/os_ha_ovs_syndic/infra/init.yml
rename to classes/cluster/os-ha-ovs-syndic/infra/init.yml
diff --git a/classes/cluster/model_manager/init.yml b/classes/cluster/os-ha-ovs-syndic/init.yml
similarity index 70%
rename from classes/cluster/model_manager/init.yml
rename to classes/cluster/os-ha-ovs-syndic/init.yml
index f225d24..b4d28ad 100644
--- a/classes/cluster/model_manager/init.yml
+++ b/classes/cluster/os-ha-ovs-syndic/init.yml
@@ -1,9 +1,8 @@
classes:
- system.linux.system.single
+- cluster.os-ha-ovs-syndic.infra
+- cluster.os-ha-ovs-syndic.openstack
- system.openssh.server.team.lab
- system.openssh.server.team.tcpcloud
- system.openssh.server.team.mcp_qa
-- cluster.model_manager.infra
-- cluster.model_manager.model_manager
- cluster.overrides
-
diff --git a/classes/cluster/os_ha_ovs/openstack/compute.yml b/classes/cluster/os-ha-ovs-syndic/openstack/compute.yml
similarity index 98%
copy from classes/cluster/os_ha_ovs/openstack/compute.yml
copy to classes/cluster/os-ha-ovs-syndic/openstack/compute.yml
index 17634d0..07646fc 100644
--- a/classes/cluster/os_ha_ovs/openstack/compute.yml
+++ b/classes/cluster/os-ha-ovs-syndic/openstack/compute.yml
@@ -5,7 +5,7 @@
- system.linux.network.hosts
- system.nova.compute.cluster
- system.neutron.compute.cluster
-- cluster.os_ha_ovs
+- cluster.os-ha-ovs-syndic
parameters:
_param:
primary_interface: ens4
diff --git a/classes/cluster/os_ha_ovs_syndic/openstack/control.yml b/classes/cluster/os-ha-ovs-syndic/openstack/control.yml
similarity index 97%
rename from classes/cluster/os_ha_ovs_syndic/openstack/control.yml
rename to classes/cluster/os-ha-ovs-syndic/openstack/control.yml
index 02f5650..9bc0f6e 100644
--- a/classes/cluster/os_ha_ovs_syndic/openstack/control.yml
+++ b/classes/cluster/os-ha-ovs-syndic/openstack/control.yml
@@ -27,8 +27,8 @@
- system.galera.server.database.keystone
- system.galera.server.database.nova
- system.haproxy.proxy.listen.openstack.nova-placement
-- cluster.os_ha_ovs_syndic.openstack.dashboard
-- cluster.os_ha_ovs_syndic
+- cluster.os-ha-ovs-syndic.openstack.dashboard
+- cluster.os-ha-ovs-syndic
parameters:
_param:
keepalived_vip_interface: ens4
diff --git a/classes/cluster/os_ha_ovs/openstack/dashboard.yml b/classes/cluster/os-ha-ovs-syndic/openstack/dashboard.yml
similarity index 94%
copy from classes/cluster/os_ha_ovs/openstack/dashboard.yml
copy to classes/cluster/os-ha-ovs-syndic/openstack/dashboard.yml
index ddddaa9..4259946 100644
--- a/classes/cluster/os_ha_ovs/openstack/dashboard.yml
+++ b/classes/cluster/os-ha-ovs-syndic/openstack/dashboard.yml
@@ -4,7 +4,7 @@
- system.linux.system.repo.mcp.extra
- system.linux.system.repo.saltstack.xenial
- system.horizon.server.cluster
-- cluster.os_ha_ovs
+- cluster.os-ha-ovs-syndic
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
diff --git a/classes/cluster/os_ha_ovs_syndic/openstack/gateway.yml b/classes/cluster/os-ha-ovs-syndic/openstack/gateway.yml
similarity index 100%
rename from classes/cluster/os_ha_ovs_syndic/openstack/gateway.yml
rename to classes/cluster/os-ha-ovs-syndic/openstack/gateway.yml
diff --git a/classes/cluster/os_ha_ovs_syndic/openstack/init.yml b/classes/cluster/os-ha-ovs-syndic/openstack/init.yml
similarity index 100%
rename from classes/cluster/os_ha_ovs_syndic/openstack/init.yml
rename to classes/cluster/os-ha-ovs-syndic/openstack/init.yml
diff --git a/classes/cluster/os_ha_ovs/openstack/proxy.yml b/classes/cluster/os-ha-ovs-syndic/openstack/proxy.yml
similarity index 93%
copy from classes/cluster/os_ha_ovs/openstack/proxy.yml
copy to classes/cluster/os-ha-ovs-syndic/openstack/proxy.yml
index a819195..9469837 100644
--- a/classes/cluster/os_ha_ovs/openstack/proxy.yml
+++ b/classes/cluster/os-ha-ovs-syndic/openstack/proxy.yml
@@ -4,7 +4,7 @@
- system.nginx.server.proxy.openstack_vnc
- system.nginx.server.proxy.openstack_web
- system.salt.minion.cert.proxy
-- cluster.os_ha_ovs
+- cluster.os-ha-ovs-syndic
parameters:
_param:
nginx_proxy_ssl:
diff --git a/classes/cluster/os_ha_ovs/infra/config.yml b/classes/cluster/os-ha-ovs/infra/config.yml
similarity index 98%
rename from classes/cluster/os_ha_ovs/infra/config.yml
rename to classes/cluster/os-ha-ovs/infra/config.yml
index 41d162d..2273e6a 100644
--- a/classes/cluster/os_ha_ovs/infra/config.yml
+++ b/classes/cluster/os-ha-ovs/infra/config.yml
@@ -32,8 +32,8 @@
- system.mysql.client.database.nova_api
- system.mysql.client.database.neutron
- system.reclass.storage.system.openstack_control_cluster
-- cluster.os_ha_ovs.openstack.proxy
-- cluster.os_ha_ovs
+- cluster.os-ha-ovs.openstack.proxy
+- cluster.os-ha-ovs
parameters:
_param:
reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
diff --git a/classes/cluster/os_ha_ovs/infra/init.yml b/classes/cluster/os-ha-ovs/infra/init.yml
similarity index 100%
rename from classes/cluster/os_ha_ovs/infra/init.yml
rename to classes/cluster/os-ha-ovs/infra/init.yml
diff --git a/classes/cluster/os_ha_ovs/init.yml b/classes/cluster/os-ha-ovs/init.yml
similarity index 74%
rename from classes/cluster/os_ha_ovs/init.yml
rename to classes/cluster/os-ha-ovs/init.yml
index 000ee69..37bd6d8 100644
--- a/classes/cluster/os_ha_ovs/init.yml
+++ b/classes/cluster/os-ha-ovs/init.yml
@@ -1,7 +1,7 @@
classes:
- system.linux.system.single
-- cluster.os_ha_ovs.infra
-- cluster.os_ha_ovs.openstack
+- cluster.os-ha-ovs.infra
+- cluster.os-ha-ovs.openstack
- system.openssh.server.team.lab
- system.openssh.server.team.tcpcloud
- system.openssh.server.team.mcp_qa
diff --git a/classes/cluster/os_ha_ovs/openstack/compute.yml b/classes/cluster/os-ha-ovs/openstack/compute.yml
similarity index 98%
rename from classes/cluster/os_ha_ovs/openstack/compute.yml
rename to classes/cluster/os-ha-ovs/openstack/compute.yml
index 17634d0..96db48a 100644
--- a/classes/cluster/os_ha_ovs/openstack/compute.yml
+++ b/classes/cluster/os-ha-ovs/openstack/compute.yml
@@ -5,7 +5,7 @@
- system.linux.network.hosts
- system.nova.compute.cluster
- system.neutron.compute.cluster
-- cluster.os_ha_ovs
+- cluster.os-ha-ovs
parameters:
_param:
primary_interface: ens4
diff --git a/classes/cluster/os_ha_ovs/openstack/control.yml b/classes/cluster/os-ha-ovs/openstack/control.yml
similarity index 98%
rename from classes/cluster/os_ha_ovs/openstack/control.yml
rename to classes/cluster/os-ha-ovs/openstack/control.yml
index 4db2dac..b4078b9 100644
--- a/classes/cluster/os_ha_ovs/openstack/control.yml
+++ b/classes/cluster/os-ha-ovs/openstack/control.yml
@@ -30,8 +30,8 @@
- system.galera.server.database.keystone
- system.galera.server.database.nova
- system.haproxy.proxy.listen.openstack.nova-placement
-- cluster.os_ha_ovs.openstack.dashboard
-- cluster.os_ha_ovs
+- cluster.os-ha-ovs.openstack.dashboard
+- cluster.os-ha-ovs
parameters:
_param:
keepalived_vip_interface: ens4
diff --git a/classes/cluster/os_ha_ovs/openstack/dashboard.yml b/classes/cluster/os-ha-ovs/openstack/dashboard.yml
similarity index 95%
rename from classes/cluster/os_ha_ovs/openstack/dashboard.yml
rename to classes/cluster/os-ha-ovs/openstack/dashboard.yml
index ddddaa9..6842cbf 100644
--- a/classes/cluster/os_ha_ovs/openstack/dashboard.yml
+++ b/classes/cluster/os-ha-ovs/openstack/dashboard.yml
@@ -4,7 +4,7 @@
- system.linux.system.repo.mcp.extra
- system.linux.system.repo.saltstack.xenial
- system.horizon.server.cluster
-- cluster.os_ha_ovs
+- cluster.os-ha-ovs
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
diff --git a/classes/cluster/os_ha_ovs/openstack/gateway.yml b/classes/cluster/os-ha-ovs/openstack/gateway.yml
similarity index 100%
rename from classes/cluster/os_ha_ovs/openstack/gateway.yml
rename to classes/cluster/os-ha-ovs/openstack/gateway.yml
diff --git a/classes/cluster/os_ha_ovs/openstack/init.yml b/classes/cluster/os-ha-ovs/openstack/init.yml
similarity index 100%
rename from classes/cluster/os_ha_ovs/openstack/init.yml
rename to classes/cluster/os-ha-ovs/openstack/init.yml
diff --git a/classes/cluster/os_ha_ovs/openstack/proxy.yml b/classes/cluster/os-ha-ovs/openstack/proxy.yml
similarity index 95%
rename from classes/cluster/os_ha_ovs/openstack/proxy.yml
rename to classes/cluster/os-ha-ovs/openstack/proxy.yml
index a819195..bb775ca 100644
--- a/classes/cluster/os_ha_ovs/openstack/proxy.yml
+++ b/classes/cluster/os-ha-ovs/openstack/proxy.yml
@@ -4,7 +4,7 @@
- system.nginx.server.proxy.openstack_vnc
- system.nginx.server.proxy.openstack_web
- system.salt.minion.cert.proxy
-- cluster.os_ha_ovs
+- cluster.os-ha-ovs
parameters:
_param:
nginx_proxy_ssl:
diff --git a/classes/cluster/os_aio_ovs/openstack/dashboard.yml b/classes/cluster/os_aio_ovs/openstack/dashboard.yml
deleted file mode 100644
index 9648888..0000000
--- a/classes/cluster/os_aio_ovs/openstack/dashboard.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-classes:
-- system.linux.system.repo.ubuntu
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.horizon.server.single
-- cluster.os_aio_ovs
-parameters:
- _param:
- horizon_site_branding: OpenStack Dashboard
- linux:
- network:
- interface:
- ens4:
- enabled: true
- type: eth
- proto: static
- address: ${_param:single_address}
- netmask: 255.255.255.0
diff --git a/classes/cluster/os_aio_ovs/openstack/proxy.yml b/classes/cluster/os_aio_ovs/openstack/proxy.yml
deleted file mode 100644
index 657da6f..0000000
--- a/classes/cluster/os_aio_ovs/openstack/proxy.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-classes:
-- system.nginx.server.single
-- system.nginx.server.proxy.openstack_api
-- system.nginx.server.proxy.openstack_vnc
-- system.nginx.server.proxy.openstack_web
-- system.salt.minion.cert.proxy
-- cluster.os_aio_ovs
-parameters:
- _param:
- nginx_proxy_ssl:
- enabled: true
- authority: ${_param:salt_minion_ca_authority}
- engine: salt
- mode: secure
- salt_minion_ca_host: cfg01.${_param:cluster_domain}
\ No newline at end of file
diff --git a/classes/cluster/os_ha_contrail/opencontrail/control.yml b/classes/cluster/os_ha_contrail/opencontrail/control.yml
deleted file mode 100644
index baad03f..0000000
--- a/classes/cluster/os_ha_contrail/opencontrail/control.yml
+++ /dev/null
@@ -1,66 +0,0 @@
-classes:
-- system.linux.system.lowmem
-- system.linux.system.repo.cassandra
-- system.linux.system.repo.mcp.contrail
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.trusty
-- system.opencontrail.client.resource.edge_router
-- system.opencontrail.control.cluster
-- system.opencontrail.client.cluster
-- system.opencontrail.client.resource.control_node
-- system.opencontrail.client.resource.config_node
-- system.opencontrail.client.resource.database_node
-- system.opencontrail.client.resource.analytics_node
-- system.haproxy.proxy.listen.opencontrail.analytics
-- cluster.os_ha_contrail
-parameters:
- _param:
- openstack_version: mitaka
- keepalived_vip_interface: eth1
- cluster_vip_address: ${_param:opencontrail_control_address}
- cluster_local_address: ${_param:single_address}
- cluster_node01_hostname: ntw01
- cluster_node01_address: ${_param:opencontrail_control_node01_address}
- cluster_node02_hostname: ntw02
- cluster_node02_address: ${_param:opencontrail_control_node02_address}
- cluster_node03_hostname: ntw03
- cluster_node03_address: ${_param:opencontrail_control_node03_address}
- opencontrail_router01_hostname: vsrx01.${_param:cluster_domain}
- opencontrail_router01_address: 172.16.10.131
- linux:
- network:
- interface:
- eth1:
- enabled: true
- type: eth
- proto: static
- address: ${_param:single_address}
- netmask: 255.255.255.0
- keepalived:
- cluster:
- instance:
- VIP:
- virtual_router_id: 144
- opencontrail:
- web:
- database:
- port: 9042
- network:
- host: ${_param:openstack_control_address}
- identity:
- host: ${_param:openstack_control_address}
- common:
- network:
- host: ${_param:openstack_control_address}
- identity:
- host: ${_param:openstack_control_address}
- config:
- network:
- host: ${_param:openstack_control_address}
- identity:
- host: ${_param:openstack_control_address}
- message_queue:
- engine: rabbitmq
- host: ${_param:openstack_control_address}
- port: 5672
diff --git a/classes/cluster/os_ha_contrail/openstack/proxy.yml b/classes/cluster/os_ha_contrail/openstack/proxy.yml
deleted file mode 100755
index baa489f..0000000
--- a/classes/cluster/os_ha_contrail/openstack/proxy.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-classes:
-- system.nginx.server.single
-- system.nginx.server.proxy.opencontrail_web
-- system.nginx.server.proxy.openstack_api
-- system.nginx.server.proxy.openstack_vnc
-- system.nginx.server.proxy.openstack_web
-- system.salt.minion.cert.proxy
-- cluster.os_ha_contrail
-parameters:
- _param:
- cluster_vip_address: ${_param:openstack_proxy_address}
- nginx_proxy_ssl:
- enabled: true
- authority: ${_param:salt_minion_ca_authority}
- engine: salt
- mode: secure
- salt_minion_ca_host: cfg01.${_param:cluster_domain}
diff --git a/classes/cluster/os_ha_contrail_40/openstack/control.yml b/classes/cluster/os_ha_contrail_40/openstack/control.yml
deleted file mode 100644
index 141c562..0000000
--- a/classes/cluster/os_ha_contrail_40/openstack/control.yml
+++ /dev/null
@@ -1,165 +0,0 @@
-classes:
-- system.linux.system.lowmem
-- system.linux.system.repo.glusterfs
-- system.linux.system.repo.mcp.contrail
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.memcached.server.single
-- system.rabbitmq.server.cluster
-- system.rabbitmq.server.vhost.openstack
-- system.keystone.server.wsgi
-- system.keystone.server.cluster
-- system.glusterfs.server.volume.glance
-- system.glusterfs.server.volume.keystone
-- system.glusterfs.server.cluster
-- system.glusterfs.client.cluster
-- system.glusterfs.client.volume.glance
-- system.glusterfs.client.volume.keystone
-- system.glance.control.cluster
-- system.nova.control.cluster
-- system.neutron.control.opencontrail.cluster
-- system.cinder.control.cluster
-- system.heat.server.cluster
-- system.designate.server.cluster
-- system.designate.server.backend.bind
-- system.galera.server.cluster
-- system.galera.server.database.cinder
-- system.galera.server.database.glance
-- system.galera.server.database.heat
-- system.galera.server.database.keystone
-- system.galera.server.database.nova
-- system.galera.server.database.designate
-- system.haproxy.proxy.listen.openstack.nova-placement
-- cluster.os_ha_contrail_40
-parameters:
- _param:
- keepalived_vip_interface: ens4
- cluster_vip_address: ${_param:openstack_control_address}
- cluster_local_address: ${_param:single_address}
- cluster_node01_hostname: ctl01
- cluster_node01_address: ${_param:openstack_control_node01_address}
- cluster_node02_hostname: ctl02
- cluster_node02_address: ${_param:openstack_control_node02_address}
- cluster_node03_hostname: ctl03
- cluster_node03_address: ${_param:openstack_control_node03_address}
- keepalived_openstack_telemetry_vip_interface: ens4
- linux:
- system:
- package:
- python-msgpack:
- version: latest
- network:
- interface:
- ens4:
- enabled: true
- type: eth
- proto: static
- address: ${_param:single_address}
- netmask: 255.255.255.0
- keepalived:
- cluster:
- instance:
- VIP:
- virtual_router_id: 150
- bind:
- server:
- control:
- mgmt:
- enabled: true
- bind:
- address: ${_param:single_address}
- port: 953
- allow:
- - ${_param:openstack_control_node01_address}
- - ${_param:openstack_control_node02_address}
- - ${_param:openstack_control_node03_address}
- keys:
- - designate
- keystone:
- server:
- admin_email: ${_param:admin_email}
- notification:
- driver: messagingv2
- topics: "notifications"
- designate:
- server:
- pools:
- default:
- description: 'test pool'
- targets:
- default:
- description: 'test target1'
- default1:
- type: ${_param:designate_pool_target_type}
- description: 'test target2'
- masters: ${_param:designate_pool_target_masters}
- options:
- host: ${_param:openstack_control_node02_address}
- port: 53
- rndc_host: ${_param:openstack_control_node02_address}
- rndc_port: 953
- rndc_key_file: /etc/designate/rndc.key
- default2:
- type: ${_param:designate_pool_target_type}
- description: 'test target3'
- masters: ${_param:designate_pool_target_masters}
- options:
- host: ${_param:openstack_control_node03_address}
- port: 53
- rndc_host: ${_param:openstack_control_node03_address}
- rndc_port: 953
- rndc_key_file: /etc/designate/rndc.key
- glance:
- server:
- storage:
- engine: file
- images: []
- workers: 1
- notification:
- driver: messagingv2
- topics: "notifications"
- heat:
- server:
- notification:
- driver: messagingv2
- topics: "notifications"
- nova:
- controller:
- networking: contrail
- cpu_allocation: 54
- bind:
- private_address: ${_param:cluster_local_address}
- public_address: ${_param:cluster_vip_address}
- novncproxy_port: 6080
- vncproxy_url: http://${_param:cluster_vip_address}:6080
- cache:
- engine: memcached
- prefix: CACHE_NOVA
- members:
- - host: 127.0.0.1
- port: 11211
- workers: 1
- notification:
- driver: messagingv2
- topics: "notifications"
- neutron:
- server:
- plugin: contrail
- tunnel_type: vxlan
- public_networks: []
- contrail:
- version: ${_param:opencontrail_version}
- notification:
- driver: messagingv2
- topics: "notifications"
- cinder:
- volume:
- notification:
- driver: messagingv2
- topics: "notifications"
- controller:
- notification:
- driver: messagingv2
- topics: "notifications"
-
diff --git a/classes/cluster/os_ha_ovs_syndic/init.yml b/classes/cluster/os_ha_ovs_syndic/init.yml
deleted file mode 100644
index 1d6bb29..0000000
--- a/classes/cluster/os_ha_ovs_syndic/init.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-classes:
-- system.linux.system.single
-- cluster.os_ha_ovs_syndic.infra
-- cluster.os_ha_ovs_syndic.openstack
-- system.openssh.server.team.lab
-- system.openssh.server.team.tcpcloud
-- system.openssh.server.team.mcp_qa
-- cluster.overrides
diff --git a/classes/cluster/os_ha_ovs_syndic/openstack/compute.yml b/classes/cluster/os_ha_ovs_syndic/openstack/compute.yml
deleted file mode 100644
index 544640d..0000000
--- a/classes/cluster/os_ha_ovs_syndic/openstack/compute.yml
+++ /dev/null
@@ -1,72 +0,0 @@
-classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.linux.network.hosts
-- system.nova.compute.cluster
-- system.neutron.compute.cluster
-- cluster.os_ha_ovs_syndic
-parameters:
- _param:
- primary_interface: ens4
- tenant_interface: ens5
- external_interface: ens6
- interface_mtu: 9000
- linux_system_codename: xenial
- nova:
- compute:
- vncproxy_url: http://${_param:cluster_vip_address}:6080
- notification:
- driver: messagingv2
- topics: "notifications"
- notify_on:
- state_change: vm_and_task_state
- message_queue:
- members:
- - host: ${_param:openstack_control_node01_address}
- - host: ${_param:openstack_control_node02_address}
- - host: ${_param:openstack_control_node03_address}
- linux:
- network:
- bridge: openvswitch
- concat_iface_files:
- - src: '/etc/network/interfaces.d/50-cloud-init.cfg'
- dst: '/etc/network/interfaces'
- interface:
- dhcp_int:
- enabled: true
- name: ens3
- proto: dhcp
- type: eth
- mtu: ${_param:interface_mtu}
- primary_interface:
- enabled: true
- ipflush_onchange: true
- name: ${_param:primary_interface}
- mtu: ${_param:interface_mtu}
- proto: manual
- type: eth
- tenant_interface:
- enabled: true
- ipflush_onchange: true
- name: ${_param:tenant_interface}
- mtu: ${_param:interface_mtu}
- proto: manual
- type: eth
- br-mgmt:
- enabled: true
- type: bridge
- proto: static
- address: ${_param:single_address}
- netmask: 255.255.255.0
- use_interfaces:
- - ${_param:primary_interface}
- br-mesh:
- enabled: true
- type: bridge
- proto: static
- address: ${_param:tenant_address}
- netmask: 255.255.255.0
- use_interfaces:
- - ${_param:tenant_interface}
-
diff --git a/classes/cluster/os_ha_ovs_syndic/openstack/dashboard.yml b/classes/cluster/os_ha_ovs_syndic/openstack/dashboard.yml
deleted file mode 100644
index 1e4565a..0000000
--- a/classes/cluster/os_ha_ovs_syndic/openstack/dashboard.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-classes:
-- system.linux.system.repo.ubuntu
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- system.horizon.server.cluster
-- cluster.os_ha_ovs_syndic
-parameters:
- _param:
- horizon_site_branding: OpenStack Dashboard
- linux:
- network:
- interface:
- ens4:
- enabled: true
- type: eth
- proto: static
- address: ${_param:single_address}
- netmask: 255.255.255.0
diff --git a/classes/cluster/os_ha_ovs_syndic/openstack/proxy.yml b/classes/cluster/os_ha_ovs_syndic/openstack/proxy.yml
deleted file mode 100644
index 880b908..0000000
--- a/classes/cluster/os_ha_ovs_syndic/openstack/proxy.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-classes:
-- system.nginx.server.single
-- system.nginx.server.proxy.openstack_api
-- system.nginx.server.proxy.openstack_vnc
-- system.nginx.server.proxy.openstack_web
-- system.salt.minion.cert.proxy
-- cluster.os_ha_ovs_syndic
-parameters:
- _param:
- nginx_proxy_ssl:
- enabled: true
- authority: ${_param:salt_minion_ca_authority}
- engine: salt
- mode: secure
- salt_minion_ca_host: cfg01.${_param:cluster_domain}
\ No newline at end of file
diff --git a/classes/cluster/sl_k8s_calico/infra/config.yml b/classes/cluster/sl-k8s-calico/infra/config.yml
similarity index 98%
rename from classes/cluster/sl_k8s_calico/infra/config.yml
rename to classes/cluster/sl-k8s-calico/infra/config.yml
index 88dcede..ca4485d 100644
--- a/classes/cluster/sl_k8s_calico/infra/config.yml
+++ b/classes/cluster/sl-k8s-calico/infra/config.yml
@@ -11,8 +11,8 @@
- system.mysql.client.database.grafana
- system.reclass.storage.salt
- system.reclass.storage.system.kubernetes_control_cluster
-- cluster.sl_k8s_calico.stacklight.proxy
-- cluster.sl_k8s_calico
+- cluster.sl-k8s-calico.stacklight.proxy
+- cluster.sl-k8s-calico
parameters:
_param:
salt_master_base_environment: prd
diff --git a/classes/cluster/sl_k8s_calico/infra/init.yml b/classes/cluster/sl-k8s-calico/infra/init.yml
similarity index 100%
rename from classes/cluster/sl_k8s_calico/infra/init.yml
rename to classes/cluster/sl-k8s-calico/infra/init.yml
diff --git a/classes/cluster/sl-k8s-calico/init.yml b/classes/cluster/sl-k8s-calico/init.yml
new file mode 100644
index 0000000..eca25ff
--- /dev/null
+++ b/classes/cluster/sl-k8s-calico/init.yml
@@ -0,0 +1,5 @@
+classes:
+- cluster.sl-k8s-calico.kubernetes
+- cluster.sl-k8s-calico.stacklight
+- cluster.sl-k8s-calico.infra
+- cluster.overrides
diff --git a/classes/cluster/sl_k8s_calico/kubernetes/compute.yml b/classes/cluster/sl-k8s-calico/kubernetes/compute.yml
similarity index 98%
rename from classes/cluster/sl_k8s_calico/kubernetes/compute.yml
rename to classes/cluster/sl-k8s-calico/kubernetes/compute.yml
index 4cdd8d3..db65dae 100644
--- a/classes/cluster/sl_k8s_calico/kubernetes/compute.yml
+++ b/classes/cluster/sl-k8s-calico/kubernetes/compute.yml
@@ -4,7 +4,7 @@
- system.linux.network.hosts
- system.salt.minion.cert.k8s_client
- system.salt.minion.cert.etcd_client
-- cluster.sl_k8s_calico
+- cluster.sl-k8s-calico
parameters:
_param:
kubernetes_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
diff --git a/classes/cluster/sl_k8s_calico/kubernetes/control.yml b/classes/cluster/sl-k8s-calico/kubernetes/control.yml
similarity index 90%
rename from classes/cluster/sl_k8s_calico/kubernetes/control.yml
rename to classes/cluster/sl-k8s-calico/kubernetes/control.yml
index 3e1b435..f9ac48e 100644
--- a/classes/cluster/sl_k8s_calico/kubernetes/control.yml
+++ b/classes/cluster/sl-k8s-calico/kubernetes/control.yml
@@ -4,9 +4,9 @@
- system.linux.system.repo.docker
- system.salt.minion.cert.etcd_server
- system.kubernetes.master.cluster
-- cluster.sl_k8s_calico.kubernetes.compute
-- cluster.sl_k8s_calico.infra
-- cluster.sl_k8s_calico
+- cluster.sl-k8s-calico.kubernetes.compute
+- cluster.sl-k8s-calico.infra
+- cluster.sl-k8s-calico
parameters:
_param:
keepalived_vip_interface: ${_param:primary_interface}
diff --git a/classes/cluster/sl_k8s_calico/kubernetes/init.yml b/classes/cluster/sl-k8s-calico/kubernetes/init.yml
similarity index 100%
rename from classes/cluster/sl_k8s_calico/kubernetes/init.yml
rename to classes/cluster/sl-k8s-calico/kubernetes/init.yml
diff --git a/classes/cluster/sl_k8s_calico/stacklight/client.yml b/classes/cluster/sl-k8s-calico/stacklight/client.yml
similarity index 85%
rename from classes/cluster/sl_k8s_calico/stacklight/client.yml
rename to classes/cluster/sl-k8s-calico/stacklight/client.yml
index 393449c..dbad497 100644
--- a/classes/cluster/sl_k8s_calico/stacklight/client.yml
+++ b/classes/cluster/sl-k8s-calico/stacklight/client.yml
@@ -4,6 +4,9 @@
- system.grafana.client
- system.grafana.client.datasource.prometheus
- system.kibana.client.single
+- system.heka.log_collector.single
+- system.heka.log_collector.output.telegraf
+- cluster.sl-k8s-calico
parameters:
_param:
# Elasticsearch/Kibana client parameters
diff --git a/classes/cluster/sl_k8s_calico/stacklight/init.yml b/classes/cluster/sl-k8s-calico/stacklight/init.yml
similarity index 100%
rename from classes/cluster/sl_k8s_calico/stacklight/init.yml
rename to classes/cluster/sl-k8s-calico/stacklight/init.yml
diff --git a/classes/cluster/sl_os_ovs/openstack/proxy.yml b/classes/cluster/sl-k8s-calico/stacklight/proxy.yml
similarity index 95%
copy from classes/cluster/sl_os_ovs/openstack/proxy.yml
copy to classes/cluster/sl-k8s-calico/stacklight/proxy.yml
index 3a76f36..de4e28c 100644
--- a/classes/cluster/sl_os_ovs/openstack/proxy.yml
+++ b/classes/cluster/sl-k8s-calico/stacklight/proxy.yml
@@ -5,11 +5,11 @@
- system.nginx.server.proxy.monitoring.prometheus_server
- system.nginx.server.proxy.monitoring.prometheus_alertmanager
- system.salt.minion.cert.proxy
-- cluster.sl_os_ovs
+- cluster.sl-k8s-calico
parameters:
_param:
- nginx_proxy_grafana_port: 15013
cluster_public_host: ${_param:prometheus_control_address}
+ nginx_proxy_grafana_port: 15013
nginx_proxy_ssl:
enabled: true
authority: ${_param:salt_minion_ca_authority}
diff --git a/classes/cluster/sl_k8s_calico/stacklight/server.yml b/classes/cluster/sl-k8s-calico/stacklight/server.yml
similarity index 99%
rename from classes/cluster/sl_k8s_calico/stacklight/server.yml
rename to classes/cluster/sl-k8s-calico/stacklight/server.yml
index eb979f9..dae5452 100644
--- a/classes/cluster/sl_k8s_calico/stacklight/server.yml
+++ b/classes/cluster/sl-k8s-calico/stacklight/server.yml
@@ -29,7 +29,7 @@
- system.prometheus.server.target.dns
- system.docker.swarm.stack.monitoring
- system.docker.swarm.stack.dashboard
-- cluster.sl_k8s_calico
+- cluster.sl-k8s-calico
parameters:
_param:
cluster_vip_address: ${_param:stacklight_monitor_address}
diff --git a/classes/cluster/sl_k8s_contrail/infra/config.yml b/classes/cluster/sl-k8s-contrail/infra/config.yml
similarity index 99%
rename from classes/cluster/sl_k8s_contrail/infra/config.yml
rename to classes/cluster/sl-k8s-contrail/infra/config.yml
index 7a47bd3..c287f17 100644
--- a/classes/cluster/sl_k8s_contrail/infra/config.yml
+++ b/classes/cluster/sl-k8s-contrail/infra/config.yml
@@ -10,7 +10,7 @@
- system.salt.minion.cert.k8s_server
- system.reclass.storage.system.kubernetes_control_cluster
- system.reclass.storage.system.opencontrail_control_cluster
-- cluster.sl_k8s_contrail
+- cluster.sl-k8s-contrail
parameters:
_param:
salt_master_base_environment: prd
diff --git a/classes/cluster/sl_k8s_contrail/infra/init.yml b/classes/cluster/sl-k8s-contrail/infra/init.yml
similarity index 100%
rename from classes/cluster/sl_k8s_contrail/infra/init.yml
rename to classes/cluster/sl-k8s-contrail/infra/init.yml
diff --git a/classes/cluster/sl_k8s_contrail/init.yml b/classes/cluster/sl-k8s-contrail/init.yml
similarity index 62%
rename from classes/cluster/sl_k8s_contrail/init.yml
rename to classes/cluster/sl-k8s-contrail/init.yml
index f190b82..5ea4d4f 100644
--- a/classes/cluster/sl_k8s_contrail/init.yml
+++ b/classes/cluster/sl-k8s-contrail/init.yml
@@ -1,9 +1,9 @@
classes:
- system.linux.system.single
-- cluster.sl_k8s_contrail.kubernetes
-- cluster.sl_k8s_contrail.opencontrail
-- cluster.sl_k8s_contrail.stacklight
-- cluster.sl_k8s_contrail.infra
+- cluster.sl-k8s-contrail.kubernetes
+- cluster.sl-k8s-contrail.opencontrail
+- cluster.sl-k8s-contrail.stacklight
+- cluster.sl-k8s-contrail.infra
- system.openssh.server.team.lab
- system.openssh.server.team.stacklight
- system.openssh.server.team.tcpcloud
diff --git a/classes/cluster/sl_k8s_contrail/kubernetes/compute.yml b/classes/cluster/sl-k8s-contrail/kubernetes/compute.yml
similarity index 93%
rename from classes/cluster/sl_k8s_contrail/kubernetes/compute.yml
rename to classes/cluster/sl-k8s-contrail/kubernetes/compute.yml
index 351f55e..cdd5047 100644
--- a/classes/cluster/sl_k8s_contrail/kubernetes/compute.yml
+++ b/classes/cluster/sl-k8s-contrail/kubernetes/compute.yml
@@ -4,8 +4,8 @@
- system.linux.network.hosts
- system.salt.minion.cert.k8s_client
- system.salt.minion.cert.etcd_client
-- cluster.sl_k8s_contrail.opencontrail.compute
-- cluster.sl_k8s_contrail
+- cluster.sl-k8s-contrail.opencontrail.compute
+- cluster.sl-k8s-contrail
parameters:
linux:
network:
diff --git a/classes/cluster/sl_k8s_contrail/kubernetes/control.yml b/classes/cluster/sl-k8s-contrail/kubernetes/control.yml
similarity index 94%
rename from classes/cluster/sl_k8s_contrail/kubernetes/control.yml
rename to classes/cluster/sl-k8s-contrail/kubernetes/control.yml
index 0ef115d..70b7ae8 100644
--- a/classes/cluster/sl_k8s_contrail/kubernetes/control.yml
+++ b/classes/cluster/sl-k8s-contrail/kubernetes/control.yml
@@ -4,8 +4,8 @@
- system.linux.system.repo.docker
- system.salt.minion.cert.etcd_server
- system.kubernetes.master.cluster
-- cluster.sl_k8s_contrail.kubernetes.compute
-- cluster.sl_k8s_contrail
+- cluster.sl-k8s-contrail.kubernetes.compute
+- cluster.sl-k8s-contrail
parameters:
_param:
keepalived_vip_interface: ens3
diff --git a/classes/cluster/sl_k8s_contrail/kubernetes/init.yml b/classes/cluster/sl-k8s-contrail/kubernetes/init.yml
similarity index 100%
rename from classes/cluster/sl_k8s_contrail/kubernetes/init.yml
rename to classes/cluster/sl-k8s-contrail/kubernetes/init.yml
diff --git a/classes/cluster/sl_k8s_contrail/opencontrail/compute.yml b/classes/cluster/sl-k8s-contrail/opencontrail/compute.yml
similarity index 100%
rename from classes/cluster/sl_k8s_contrail/opencontrail/compute.yml
rename to classes/cluster/sl-k8s-contrail/opencontrail/compute.yml
diff --git a/classes/cluster/sl_k8s_contrail/opencontrail/control.yml b/classes/cluster/sl-k8s-contrail/opencontrail/control.yml
similarity index 98%
rename from classes/cluster/sl_k8s_contrail/opencontrail/control.yml
rename to classes/cluster/sl-k8s-contrail/opencontrail/control.yml
index bb4f6b7..bc91b83 100644
--- a/classes/cluster/sl_k8s_contrail/opencontrail/control.yml
+++ b/classes/cluster/sl-k8s-contrail/opencontrail/control.yml
@@ -15,7 +15,7 @@
- system.opencontrail.client.resource.analytics_node
- system.haproxy.proxy.listen.opencontrail.analytics
- system.prometheus.exporters.jmx
-- cluster.sl_k8s_contrail
+- cluster.sl-k8s-contrail
parameters:
_param:
keepalived_vip_interface: eth1
diff --git a/classes/cluster/sl_k8s_contrail/opencontrail/init.yml b/classes/cluster/sl-k8s-contrail/opencontrail/init.yml
similarity index 100%
rename from classes/cluster/sl_k8s_contrail/opencontrail/init.yml
rename to classes/cluster/sl-k8s-contrail/opencontrail/init.yml
diff --git a/classes/cluster/sl_k8s_calico/stacklight/client.yml b/classes/cluster/sl-k8s-contrail/stacklight/client.yml
similarity index 84%
copy from classes/cluster/sl_k8s_calico/stacklight/client.yml
copy to classes/cluster/sl-k8s-contrail/stacklight/client.yml
index 393449c..04f6315 100644
--- a/classes/cluster/sl_k8s_calico/stacklight/client.yml
+++ b/classes/cluster/sl-k8s-contrail/stacklight/client.yml
@@ -4,6 +4,9 @@
- system.grafana.client
- system.grafana.client.datasource.prometheus
- system.kibana.client.single
+- system.heka.log_collector.single
+- system.heka.log_collector.output.telegraf
+- cluster.sl-k8s-contrail
parameters:
_param:
# Elasticsearch/Kibana client parameters
diff --git a/classes/cluster/sl_k8s_contrail/stacklight/init.yml b/classes/cluster/sl-k8s-contrail/stacklight/init.yml
similarity index 100%
rename from classes/cluster/sl_k8s_contrail/stacklight/init.yml
rename to classes/cluster/sl-k8s-contrail/stacklight/init.yml
diff --git a/classes/cluster/sl_os_ovs/openstack/proxy.yml b/classes/cluster/sl-k8s-contrail/stacklight/proxy.yml
similarity index 94%
copy from classes/cluster/sl_os_ovs/openstack/proxy.yml
copy to classes/cluster/sl-k8s-contrail/stacklight/proxy.yml
index 3a76f36..0c20e5e 100644
--- a/classes/cluster/sl_os_ovs/openstack/proxy.yml
+++ b/classes/cluster/sl-k8s-contrail/stacklight/proxy.yml
@@ -5,7 +5,7 @@
- system.nginx.server.proxy.monitoring.prometheus_server
- system.nginx.server.proxy.monitoring.prometheus_alertmanager
- system.salt.minion.cert.proxy
-- cluster.sl_os_ovs
+- cluster.sl-k8s-contrail.infra
parameters:
_param:
nginx_proxy_grafana_port: 15013
diff --git a/classes/cluster/sl_k8s_contrail/stacklight/server.yml b/classes/cluster/sl-k8s-contrail/stacklight/server.yml
similarity index 98%
rename from classes/cluster/sl_k8s_contrail/stacklight/server.yml
rename to classes/cluster/sl-k8s-contrail/stacklight/server.yml
index cc485cb..2890d05 100644
--- a/classes/cluster/sl_k8s_contrail/stacklight/server.yml
+++ b/classes/cluster/sl-k8s-contrail/stacklight/server.yml
@@ -27,7 +27,7 @@
- system.prometheus.server.target.dns
- system.docker.swarm.stack.monitoring
- system.docker.swarm.stack.dashboard
-- cluster.sl_k8s_contrail.infra
+- cluster.sl-k8s-contrail.infra
parameters:
_param:
cluster_public_host: mon
diff --git a/classes/cluster/sl_os_contrail/infra/config.yml b/classes/cluster/sl-os-contrail/infra/config.yml
similarity index 97%
rename from classes/cluster/sl_os_contrail/infra/config.yml
rename to classes/cluster/sl-os-contrail/infra/config.yml
index 1d2bebb..4dbee00 100755
--- a/classes/cluster/sl_os_contrail/infra/config.yml
+++ b/classes/cluster/sl-os-contrail/infra/config.yml
@@ -38,10 +38,10 @@
- system.mysql.client.database.neutron
- system.reclass.storage.system.openstack_control_cluster
- system.reclass.storage.system.opencontrail_control_cluster
-- cluster.sl_os_contrail.openstack.proxy
-- cluster.sl_os_contrail.stacklight.proxy
-- cluster.sl_os_contrail.openstack.dashboard
-- cluster.sl_os_contrail
+- cluster.sl-os-contrail.openstack.proxy
+- cluster.sl-os-contrail.stacklight.proxy
+- cluster.sl-os-contrail.openstack.dashboard
+- cluster.sl-os-contrail
parameters:
_param:
reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
@@ -220,4 +220,4 @@
- service.galera.slave.cluster
params:
linux_system_codename: xenial
- mysql_cluster_role: slave
\ No newline at end of file
+ mysql_cluster_role: slave
diff --git a/classes/cluster/sl_os_contrail/infra/init.yml b/classes/cluster/sl-os-contrail/infra/init.yml
similarity index 100%
rename from classes/cluster/sl_os_contrail/infra/init.yml
rename to classes/cluster/sl-os-contrail/infra/init.yml
diff --git a/classes/cluster/sl_os_contrail/init.yml b/classes/cluster/sl-os-contrail/init.yml
similarity index 66%
rename from classes/cluster/sl_os_contrail/init.yml
rename to classes/cluster/sl-os-contrail/init.yml
index 7da2169..036e716 100755
--- a/classes/cluster/sl_os_contrail/init.yml
+++ b/classes/cluster/sl-os-contrail/init.yml
@@ -6,8 +6,8 @@
- system.openssh.server.team.tcpcloud
- system.openssh.server.team.stacklight
- system.openssh.server.team.mcp_qa
-- cluster.sl_os_contrail.infra
-- cluster.sl_os_contrail.opencontrail
-- cluster.sl_os_contrail.openstack
-- cluster.sl_os_contrail.stacklight
+- cluster.sl-os-contrail.infra
+- cluster.sl-os-contrail.opencontrail
+- cluster.sl-os-contrail.openstack
+- cluster.sl-os-contrail.stacklight
- cluster.overrides
diff --git a/classes/cluster/sl_os_contrail/opencontrail/control.yml b/classes/cluster/sl-os-contrail/opencontrail/control.yml
similarity index 98%
rename from classes/cluster/sl_os_contrail/opencontrail/control.yml
rename to classes/cluster/sl-os-contrail/opencontrail/control.yml
index 1806c79..314d968 100644
--- a/classes/cluster/sl_os_contrail/opencontrail/control.yml
+++ b/classes/cluster/sl-os-contrail/opencontrail/control.yml
@@ -13,7 +13,7 @@
- system.opencontrail.client.resource.database_node
- system.opencontrail.client.resource.analytics_node
- system.haproxy.proxy.listen.opencontrail.analytics
-- cluster.sl_os_contrail
+- cluster.sl-os-contrail
parameters:
_param:
openstack_version: mitaka
diff --git a/classes/cluster/sl_os_contrail/opencontrail/init.yml b/classes/cluster/sl-os-contrail/opencontrail/init.yml
similarity index 100%
rename from classes/cluster/sl_os_contrail/opencontrail/init.yml
rename to classes/cluster/sl-os-contrail/opencontrail/init.yml
diff --git a/classes/cluster/sl_os_contrail/openstack/compute.yml b/classes/cluster/sl-os-contrail/openstack/compute.yml
similarity index 98%
rename from classes/cluster/sl_os_contrail/openstack/compute.yml
rename to classes/cluster/sl-os-contrail/openstack/compute.yml
index bbc62d7..3876f10 100755
--- a/classes/cluster/sl_os_contrail/openstack/compute.yml
+++ b/classes/cluster/sl-os-contrail/openstack/compute.yml
@@ -10,7 +10,7 @@
- system.opencontrail.client.resource.virtual_router
- service.opencontrail.compute.cluster
- system.prometheus.exporters.libvirt
-- cluster.sl_os_contrail
+- cluster.sl-os-contrail
parameters:
_param:
cluster_vip_address: ${_param:openstack_control_address}
diff --git a/classes/cluster/sl_os_contrail/openstack/control.yml b/classes/cluster/sl-os-contrail/openstack/control.yml
similarity index 99%
rename from classes/cluster/sl_os_contrail/openstack/control.yml
rename to classes/cluster/sl-os-contrail/openstack/control.yml
index 7b02b6e..c2e88c4 100755
--- a/classes/cluster/sl_os_contrail/openstack/control.yml
+++ b/classes/cluster/sl-os-contrail/openstack/control.yml
@@ -34,7 +34,7 @@
- system.galera.server.database.designate
- system.haproxy.proxy.listen.openstack.nova-placement
- system.prometheus.exporters.jmx
-- cluster.sl_os_contrail
+- cluster.sl-os-contrail
parameters:
_param:
keepalived_vip_interface: ens4
diff --git a/classes/cluster/sl_os_contrail/openstack/dashboard.yml b/classes/cluster/sl-os-contrail/openstack/dashboard.yml
similarity index 95%
rename from classes/cluster/sl_os_contrail/openstack/dashboard.yml
rename to classes/cluster/sl-os-contrail/openstack/dashboard.yml
index 7ad6038..0068d41 100755
--- a/classes/cluster/sl_os_contrail/openstack/dashboard.yml
+++ b/classes/cluster/sl-os-contrail/openstack/dashboard.yml
@@ -6,7 +6,7 @@
- system.horizon.server.single
- system.horizon.server.plugin.contrail
- system.horizon.server.plugin.overrides
-- cluster.sl_os_contrail
+- cluster.sl-os-contrail
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
diff --git a/classes/cluster/sl_os_contrail/openstack/init.yml b/classes/cluster/sl-os-contrail/openstack/init.yml
similarity index 100%
rename from classes/cluster/sl_os_contrail/openstack/init.yml
rename to classes/cluster/sl-os-contrail/openstack/init.yml
diff --git a/classes/cluster/sl_os_contrail/openstack/proxy.yml b/classes/cluster/sl-os-contrail/openstack/proxy.yml
similarity index 95%
rename from classes/cluster/sl_os_contrail/openstack/proxy.yml
rename to classes/cluster/sl-os-contrail/openstack/proxy.yml
index 2c521f6..d517b17 100755
--- a/classes/cluster/sl_os_contrail/openstack/proxy.yml
+++ b/classes/cluster/sl-os-contrail/openstack/proxy.yml
@@ -5,7 +5,7 @@
- system.nginx.server.proxy.openstack_vnc
- system.nginx.server.proxy.openstack_web
- system.salt.minion.cert.proxy
-- cluster.sl_os_contrail
+- cluster.sl-os-contrail
parameters:
_param:
cluster_vip_address: ${_param:openstack_proxy_address}
diff --git a/classes/cluster/sl_os_contrail/stacklight/client.yml b/classes/cluster/sl-os-contrail/stacklight/client.yml
similarity index 84%
copy from classes/cluster/sl_os_contrail/stacklight/client.yml
copy to classes/cluster/sl-os-contrail/stacklight/client.yml
index 40a4c38..676113e 100755
--- a/classes/cluster/sl_os_contrail/stacklight/client.yml
+++ b/classes/cluster/sl-os-contrail/stacklight/client.yml
@@ -3,6 +3,9 @@
- system.grafana.client
- system.grafana.client.datasource.prometheus
- system.kibana.client.single
+- system.heka.log_collector.single
+- system.heka.log_collector.output.telegraf
+- cluster.sl-os-contrail
parameters:
_param:
# Elasticsearch/Kibana client parameters
diff --git a/classes/cluster/sl_os_contrail/stacklight/init.yml b/classes/cluster/sl-os-contrail/stacklight/init.yml
similarity index 100%
rename from classes/cluster/sl_os_contrail/stacklight/init.yml
rename to classes/cluster/sl-os-contrail/stacklight/init.yml
diff --git a/classes/cluster/sl_os_ovs/openstack/proxy.yml b/classes/cluster/sl-os-contrail/stacklight/proxy.yml
old mode 100644
new mode 100755
similarity index 95%
copy from classes/cluster/sl_os_ovs/openstack/proxy.yml
copy to classes/cluster/sl-os-contrail/stacklight/proxy.yml
index 3a76f36..5dd1640
--- a/classes/cluster/sl_os_ovs/openstack/proxy.yml
+++ b/classes/cluster/sl-os-contrail/stacklight/proxy.yml
@@ -5,7 +5,7 @@
- system.nginx.server.proxy.monitoring.prometheus_server
- system.nginx.server.proxy.monitoring.prometheus_alertmanager
- system.salt.minion.cert.proxy
-- cluster.sl_os_ovs
+- cluster.sl-os-contrail
parameters:
_param:
nginx_proxy_grafana_port: 15013
diff --git a/classes/cluster/sl_os_contrail/stacklight/server.yml b/classes/cluster/sl-os-contrail/stacklight/server.yml
similarity index 99%
rename from classes/cluster/sl_os_contrail/stacklight/server.yml
rename to classes/cluster/sl-os-contrail/stacklight/server.yml
index 243ec03..25ca9cd 100755
--- a/classes/cluster/sl_os_contrail/stacklight/server.yml
+++ b/classes/cluster/sl-os-contrail/stacklight/server.yml
@@ -24,7 +24,7 @@
- system.docker.swarm.stack.monitoring
- system.docker.swarm.stack.dashboard
- system.docker.swarm.stack.monitoring.remote_collector
-- cluster.sl_os_contrail
+- cluster.sl-os-contrail
parameters:
_param:
kibana_elasticsearch_host: ${_param:stacklight_monitor_address}
diff --git a/classes/cluster/sl_os_ovs/infra/config.yml b/classes/cluster/sl-os-ovs/infra/config.yml
similarity index 97%
rename from classes/cluster/sl_os_ovs/infra/config.yml
rename to classes/cluster/sl-os-ovs/infra/config.yml
index 5e87ffa..510527f 100644
--- a/classes/cluster/sl_os_ovs/infra/config.yml
+++ b/classes/cluster/sl-os-ovs/infra/config.yml
@@ -37,10 +37,10 @@
- system.mysql.client.database.neutron
- system.reclass.storage.system.openstack_control_cluster
- system.reclass.storage.system.stacklight_server_cluster
-- cluster.sl_os_ovs.openstack.proxy
-- cluster.sl_os_ovs.stacklight.proxy
-- cluster.sl_os_ovs.openstack.dashboard
-- cluster.sl_os_ovs
+- cluster.sl-os-ovs.openstack.proxy
+- cluster.sl-os-ovs.stacklight.proxy
+- cluster.sl-os-ovs.openstack.dashboard
+- cluster.sl-os-ovs
parameters:
_param:
reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
diff --git a/classes/cluster/sl_os_ovs/infra/init.yml b/classes/cluster/sl-os-ovs/infra/init.yml
similarity index 100%
rename from classes/cluster/sl_os_ovs/infra/init.yml
rename to classes/cluster/sl-os-ovs/infra/init.yml
diff --git a/classes/cluster/sl_os_ovs/init.yml b/classes/cluster/sl-os-ovs/init.yml
similarity index 70%
rename from classes/cluster/sl_os_ovs/init.yml
rename to classes/cluster/sl-os-ovs/init.yml
index 0eefee9..f9be30f 100644
--- a/classes/cluster/sl_os_ovs/init.yml
+++ b/classes/cluster/sl-os-ovs/init.yml
@@ -4,7 +4,7 @@
- system.openssh.server.team.tcpcloud
- system.openssh.server.team.stacklight
- system.openssh.server.team.mcp_qa
-- cluster.sl_os_ovs.infra
-- cluster.sl_os_ovs.openstack
-- cluster.sl_os_ovs.stacklight
+- cluster.sl-os-ovs.infra
+- cluster.sl-os-ovs.openstack
+- cluster.sl-os-ovs.stacklight
- cluster.overrides
diff --git a/classes/cluster/sl_os_ovs/openstack/compute.yml b/classes/cluster/sl-os-ovs/openstack/compute.yml
similarity index 98%
rename from classes/cluster/sl_os_ovs/openstack/compute.yml
rename to classes/cluster/sl-os-ovs/openstack/compute.yml
index 0a17475..bbec98e 100644
--- a/classes/cluster/sl_os_ovs/openstack/compute.yml
+++ b/classes/cluster/sl-os-ovs/openstack/compute.yml
@@ -6,7 +6,7 @@
- system.nova.compute.cluster
- system.neutron.compute.cluster
- system.prometheus.exporters.libvirt
-- cluster.sl_os_ovs
+- cluster.sl-os-ovs
parameters:
_param:
primary_interface: ens4
diff --git a/classes/cluster/sl_os_ovs/openstack/control.yml b/classes/cluster/sl-os-ovs/openstack/control.yml
similarity index 99%
rename from classes/cluster/sl_os_ovs/openstack/control.yml
rename to classes/cluster/sl-os-ovs/openstack/control.yml
index 06ebdc7..70287f9 100644
--- a/classes/cluster/sl_os_ovs/openstack/control.yml
+++ b/classes/cluster/sl-os-ovs/openstack/control.yml
@@ -28,7 +28,7 @@
- system.galera.server.database.keystone
- system.galera.server.database.nova
- system.haproxy.proxy.listen.openstack.nova-placement
-- cluster.sl_os_ovs
+- cluster.sl-os-ovs
parameters:
_param:
keepalived_vip_interface: ens4
diff --git a/classes/cluster/sl_os_ovs/openstack/dashboard.yml b/classes/cluster/sl-os-ovs/openstack/dashboard.yml
similarity index 95%
rename from classes/cluster/sl_os_ovs/openstack/dashboard.yml
rename to classes/cluster/sl-os-ovs/openstack/dashboard.yml
index cb3aa56..41200f0 100644
--- a/classes/cluster/sl_os_ovs/openstack/dashboard.yml
+++ b/classes/cluster/sl-os-ovs/openstack/dashboard.yml
@@ -4,7 +4,7 @@
- system.linux.system.repo.mcp.extra
- system.linux.system.repo.saltstack.xenial
- system.horizon.server.single
-- cluster.sl_os_ovs
+- cluster.sl-os-ovs
parameters:
_param:
horizon_site_branding: OpenStack Dashboard
diff --git a/classes/cluster/sl_os_ovs/openstack/gateway.yml b/classes/cluster/sl-os-ovs/openstack/gateway.yml
similarity index 100%
rename from classes/cluster/sl_os_ovs/openstack/gateway.yml
rename to classes/cluster/sl-os-ovs/openstack/gateway.yml
diff --git a/classes/cluster/sl_os_ovs/openstack/init.yml b/classes/cluster/sl-os-ovs/openstack/init.yml
similarity index 100%
rename from classes/cluster/sl_os_ovs/openstack/init.yml
rename to classes/cluster/sl-os-ovs/openstack/init.yml
diff --git a/classes/cluster/sl_os_ovs/openstack/proxy.yml b/classes/cluster/sl-os-ovs/openstack/proxy.yml
similarity index 96%
rename from classes/cluster/sl_os_ovs/openstack/proxy.yml
rename to classes/cluster/sl-os-ovs/openstack/proxy.yml
index 3a76f36..bac17ef 100644
--- a/classes/cluster/sl_os_ovs/openstack/proxy.yml
+++ b/classes/cluster/sl-os-ovs/openstack/proxy.yml
@@ -5,7 +5,7 @@
- system.nginx.server.proxy.monitoring.prometheus_server
- system.nginx.server.proxy.monitoring.prometheus_alertmanager
- system.salt.minion.cert.proxy
-- cluster.sl_os_ovs
+- cluster.sl-os-ovs
parameters:
_param:
nginx_proxy_grafana_port: 15013
diff --git a/classes/cluster/sl_os_contrail/stacklight/client.yml b/classes/cluster/sl-os-ovs/stacklight/client.yml
old mode 100755
new mode 100644
similarity index 85%
rename from classes/cluster/sl_os_contrail/stacklight/client.yml
rename to classes/cluster/sl-os-ovs/stacklight/client.yml
index 40a4c38..ddc2f9f
--- a/classes/cluster/sl_os_contrail/stacklight/client.yml
+++ b/classes/cluster/sl-os-ovs/stacklight/client.yml
@@ -3,6 +3,9 @@
- system.grafana.client
- system.grafana.client.datasource.prometheus
- system.kibana.client.single
+- system.heka.log_collector.single
+- system.heka.log_collector.output.telegraf
+- cluster.sl-os-ovs
parameters:
_param:
# Elasticsearch/Kibana client parameters
diff --git a/classes/cluster/sl_os_ovs/stacklight/init.yml b/classes/cluster/sl-os-ovs/stacklight/init.yml
similarity index 100%
rename from classes/cluster/sl_os_ovs/stacklight/init.yml
rename to classes/cluster/sl-os-ovs/stacklight/init.yml
diff --git a/classes/cluster/sl_os_ovs/stacklight/proxy.yml b/classes/cluster/sl-os-ovs/stacklight/proxy.yml
similarity index 95%
rename from classes/cluster/sl_os_ovs/stacklight/proxy.yml
rename to classes/cluster/sl-os-ovs/stacklight/proxy.yml
index e510cef..3a2671b 100644
--- a/classes/cluster/sl_os_ovs/stacklight/proxy.yml
+++ b/classes/cluster/sl-os-ovs/stacklight/proxy.yml
@@ -4,7 +4,7 @@
- system.nginx.server.proxy.kibana_web
- system.nginx.server.proxy.nagios_web
- system.salt.minion.cert.proxy
-- cluster.sl_os_ovs
+- cluster.sl-os-ovs
parameters:
_param:
cluster_public_host: ${_param:prometheus_control_address}
diff --git a/classes/cluster/sl_os_ovs/stacklight/server.yml b/classes/cluster/sl-os-ovs/stacklight/server.yml
similarity index 98%
rename from classes/cluster/sl_os_ovs/stacklight/server.yml
rename to classes/cluster/sl-os-ovs/stacklight/server.yml
index c48b77c..5d3b8b1 100644
--- a/classes/cluster/sl_os_ovs/stacklight/server.yml
+++ b/classes/cluster/sl-os-ovs/stacklight/server.yml
@@ -26,8 +26,8 @@
- system.docker.swarm.stack.monitoring
- system.docker.swarm.stack.dashboard
- system.docker.swarm.stack.monitoring.remote_collector
-- cluster.sl_os_ovs.stacklight.client
-- cluster.sl_os_ovs
+- cluster.sl-os-ovs.stacklight.client
+- cluster.sl-os-ovs
parameters:
_param:
heka_amqp_host: ${_param:openstack_control_address}
diff --git a/classes/cluster/sl_k8s_calico/init.yml b/classes/cluster/sl_k8s_calico/init.yml
deleted file mode 100644
index b2a2a4d..0000000
--- a/classes/cluster/sl_k8s_calico/init.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-classes:
-- cluster.sl_k8s_calico.kubernetes
-- cluster.sl_k8s_calico.stacklight
-- cluster.sl_k8s_calico.infra
-- cluster.overrides
diff --git a/classes/cluster/sl_k8s_calico/stacklight/proxy.yml b/classes/cluster/sl_k8s_calico/stacklight/proxy.yml
deleted file mode 100644
index f2a4469..0000000
--- a/classes/cluster/sl_k8s_calico/stacklight/proxy.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-classes:
-- system.nginx.server.single
-- system.nginx.server.proxy.stacklight.grafana
-- system.nginx.server.proxy.stacklight.kibana
-- system.nginx.server.proxy.monitoring.prometheus_server
-- system.nginx.server.proxy.monitoring.prometheus_alertmanager
-- system.salt.minion.cert.proxy
-- cluster.sl_k8s_calico
-parameters:
- _param:
- cluster_public_host: ${_param:prometheus_control_address}
- nginx_proxy_grafana_port: 15013
- nginx_proxy_ssl:
- enabled: true
- authority: ${_param:salt_minion_ca_authority}
- engine: salt
- mode: secure
- salt_minion_ca_host: cfg01.${_param:cluster_domain}
diff --git a/classes/cluster/sl_k8s_contrail/stacklight/client.yml b/classes/cluster/sl_k8s_contrail/stacklight/client.yml
deleted file mode 100644
index 393449c..0000000
--- a/classes/cluster/sl_k8s_contrail/stacklight/client.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-classes:
-- system.docker.client
-- system.elasticsearch.client.single
-- system.grafana.client
-- system.grafana.client.datasource.prometheus
-- system.kibana.client.single
-parameters:
- _param:
- # Elasticsearch/Kibana client parameters
- stacklight_log_address: ${_param:stacklight_monitor_address}
- # Grafana client parameters
- grafana_address: ${_param:stacklight_monitor_address}
- grafana_port: 15013
- grafana_user: admin
- grafana_password: ${_param:grafana_admin_password}
- grafana_prometheus_address: ${_param:stacklight_monitor_address}
- grafana_prometheus_port: 15010
diff --git a/classes/cluster/sl_k8s_contrail/stacklight/proxy.yml b/classes/cluster/sl_k8s_contrail/stacklight/proxy.yml
deleted file mode 100644
index 2818149..0000000
--- a/classes/cluster/sl_k8s_contrail/stacklight/proxy.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-classes:
-- system.nginx.server.single
-- system.nginx.server.proxy.stacklight.grafana
-- system.nginx.server.proxy.stacklight.kibana
-- system.nginx.server.proxy.monitoring.prometheus_server
-- system.nginx.server.proxy.monitoring.prometheus_alertmanager
-- system.salt.minion.cert.proxy
-- cluster.sl_k8s_contrail.infra
-parameters:
- _param:
- nginx_proxy_grafana_port: 15013
- cluster_public_host: ${_param:prometheus_control_address}
- nginx_proxy_ssl:
- enabled: true
- authority: ${_param:salt_minion_ca_authority}
- engine: salt
- mode: secure
- salt_minion_ca_host: cfg01.${_param:cluster_domain}
diff --git a/classes/cluster/sl_os_contrail/stacklight/proxy.yml b/classes/cluster/sl_os_contrail/stacklight/proxy.yml
deleted file mode 100755
index 8b71bcb..0000000
--- a/classes/cluster/sl_os_contrail/stacklight/proxy.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-classes:
-- system.nginx.server.single
-- system.nginx.server.proxy.stacklight.grafana
-- system.nginx.server.proxy.stacklight.kibana
-- system.nginx.server.proxy.monitoring.prometheus_server
-- system.nginx.server.proxy.monitoring.prometheus_alertmanager
-- system.salt.minion.cert.proxy
-- cluster.sl_os_contrail
-parameters:
- _param:
- nginx_proxy_grafana_port: 15013
- cluster_public_host: ${_param:prometheus_control_address}
- nginx_proxy_ssl:
- enabled: true
- authority: ${_param:salt_minion_ca_authority}
- engine: salt
- mode: secure
- salt_minion_ca_host: cfg01.${_param:cluster_domain}
diff --git a/classes/cluster/sl_os_ovs/stacklight/client.yml b/classes/cluster/sl_os_ovs/stacklight/client.yml
deleted file mode 100644
index 40a4c38..0000000
--- a/classes/cluster/sl_os_ovs/stacklight/client.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-classes:
-- system.elasticsearch.client.single
-- system.grafana.client
-- system.grafana.client.datasource.prometheus
-- system.kibana.client.single
-parameters:
- _param:
- # Elasticsearch/Kibana client parameters
- stacklight_log_address: ${_param:stacklight_monitor_address}
- # Grafana client parameters
- grafana_address: ${_param:stacklight_monitor_address}
- grafana_port: 15013
- grafana_user: admin
- grafana_password: ${_param:grafana_admin_password}
- grafana_prometheus_address: ${_param:stacklight_monitor_address}
- grafana_prometheus_port: 15010