Fix a dual inheritance
Change-Id: I09269ee16df4a889c13335e0c5af14015449d4cf
diff --git a/classes/cluster/drivetrain-ha/cicd/control/init.yml b/classes/cluster/drivetrain-ha/cicd/control/init.yml
index 52b6079..2a5ce67 100644
--- a/classes/cluster/drivetrain-ha/cicd/control/init.yml
+++ b/classes/cluster/drivetrain-ha/cicd/control/init.yml
@@ -92,9 +92,9 @@
- system.rundeck.client.runbook
- cluster.drivetrain-ha.cicd
- # - cluster.drivetrain-ha
parameters:
_param:
+ cluster_name: cicd-lab-dev
cluster_node01_name: ci01
cluster_node01_address: ${_param:control_node01_address}
cluster_node02_name: ci02
@@ -329,14 +329,26 @@
pushkin_smtp_port: 25
pushkin_email_sender_password: ''
+ # OSS managed openstack
+ oss_target_openstack_ip: 172.17.16.190
+ oss_openstack_auth_url: http://172.17.16.190/identity/v3
+ oss_openstack_username: admin
+ oss_openstack_password: nova
+
+ # Janitor Monkey
+ janitor_monkey_openstack:
+ username: ${_param:oss_openstack_username}
+ password: ${_param:oss_openstack_password}
+ auth_url: ${_param:oss_openstack_auth_url}
+
# 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
+ username: ${_param:oss_openstack_username}
+ password: ${_param:oss_openstack_password}
+ auth_url: ${_param:oss_openstack_auth_url}
# Rundeck
rundeck_db_host: ${_param:haproxy_postgresql_bind_host}
@@ -346,7 +358,10 @@
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_openstack:
+ username: ${_param:oss_openstack_username}/auth/tokens
+ password: ${_param:oss_openstack_password}
+ auth_url: ${_param:oss_openstack_auth_url}
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: |
diff --git a/classes/cluster/drivetrain-ha/cicd/control/slave.yml b/classes/cluster/drivetrain-ha/cicd/control/slave.yml
index f46c1e4..52f21eb 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
+ - system.docker.swarm.manager
+ - cluster.drivetrain-ha
diff --git a/classes/cluster/drivetrain-ha/cicd/worker.yml b/classes/cluster/drivetrain-ha/cicd/worker.yml
index 9dc8d0c..ad824f8 100644
--- a/classes/cluster/drivetrain-ha/cicd/worker.yml
+++ b/classes/cluster/drivetrain-ha/cicd/worker.yml
@@ -1,6 +1,5 @@
classes:
-- system.linux.system.single
-- system.jenkins.slave.docker
-- system.aptly.client.publisher
-- cluster.drivetrain-ha
-
+ - system.linux.system.single
+ - system.jenkins.slave.docker
+ - system.aptly.client.publisher
+ - cluster.drivetrain-ha