blob: 92391690bce910805f6d9171c1811c9abfadc108 [file] [log] [blame]
Vnaumova1521842017-12-08 16:07:16 +03001classes:
2 # Docker services
3 - system.docker.swarm.stack.devops_portal
4 - system.docker.swarm.stack.elasticsearch
5 - system.docker.swarm.stack.janitor_monkey
6 - system.docker.swarm.stack.postgresql
7 - system.docker.swarm.stack.pushkin
8 - system.docker.swarm.stack.rundeck
9 - system.docker.swarm.stack.security_monkey
10 # Docker networks
11 - system.docker.swarm.network.oss_backend
12
13 # OSS Tooling
14 - system.devops_portal.service.elasticsearch
15 - system.devops_portal.service.gerrit
16 - system.devops_portal.service.janitor_monkey
17 - system.devops_portal.service.jenkins
18 - system.devops_portal.service.pushkin
19 - system.devops_portal.service.rundeck
20 - system.devops_portal.service.security_monkey
21
22 # DevOps Portal
23 - service.devops_portal.config
24
25 # Rundeck
26 - system.rundeck.server.docker
27 - system.rundeck.client
28 - system.rundeck.client.project.cicd
29
30 # PostgreSQL
31 - system.postgresql.client.pushkin
Mikhail Ivanov46af5102018-04-25 12:19:31 +040032 - system.postgresql.client.pushkin.security_monkey
33 - system.postgresql.client.pushkin.janitor_monkey
34 - system.postgresql.client.pushkin.sfdc
35 - system.postgresql.client.pushkin.alertmanager
Vnaumova1521842017-12-08 16:07:16 +030036 - system.postgresql.client.security_monkey
Mikhail Ivanov46af5102018-04-25 12:19:31 +040037 - system.postgresql.client.rundeck
Vnaumova1521842017-12-08 16:07:16 +030038
39 # Elasticsearch
40 - system.elasticsearch.client
41 - system.elasticsearch.client.index.pushkin
42 - system.elasticsearch.client.index.cis_openstack
43
44parameters:
45 _param:
46 # OSS docker images
47 docker_image_elasticsearch: docker.elastic.co/elasticsearch/elasticsearch:5.4.1
48 docker_image_security_monkey_api: docker-prod-local.artifactory.mirantis.com/mirantis/oss/security-monkey-api:latest
49 docker_image_security_monkey_scheduler: docker-prod-local.artifactory.mirantis.com/mirantis/oss/security-monkey-scheduler:latest
50 docker_image_janitor_monkey: docker-prod-local.artifactory.mirantis.com/mirantis/oss/janitor-monkey:latest
51 docker_image_mongodb: mongo:3.4
52 docker_image_rundeck: docker-prod-local.artifactory.mirantis.com/mirantis/oss/rundeck:latest
53 docker_image_devops_portal: docker-prod-local.artifactory.mirantis.com/mirantis/oss/devops-portal:latest
54 docker_image_postgresql: postgres:9.6
55
56 # PostgreSQL
57 postgresql_client_user: ${_param:postgresql_admin_user}
58 postgresql_client_password: ${_param:postgresql_admin_user_password}
59 postgresql_client_host: ${_param:haproxy_postgresql_bind_host}
60 postgresql_client_port: ${_param:haproxy_postgresql_bind_port}
61
62 # Pushkin
63 pushkin_db_user: pushkin
64 pushkin_db_user_password: pushkin
65 pushkin_db_host: ${_param:haproxy_postgresql_bind_host}
66 pushkin_smtp_host: smtp.gmail.com
67 pushkin_smtp_port: 587
68 webhook_from: yourmail
69 pushkin_email_sender_password: yourpass
70 webhook_recipients: "recipients@gmail.com,recipients2@mail.com"
71 webhook_login_id: 13
72 webhook_application_id: 24
73 # SFDC configuration
74 sfdc_auth_url: https://mirantis--prodteam.cs17.my.salesforce.com
75 sfdc_username: kadamovich+mmo+user@mirantis.com
76 sfdc_password: m1raTest
77 sfdc_consumer_key: 3MVG9ahGHqp.k2_wmbjHwYMdmX4gGy1d5W1wttknHnCXxdMDPF8BdW._xiFumg4Csg60mf7G3.R3Laz3Xbh3h
78 sfdc_consumer_secret: 398663349641456049
79 sfdc_organization_id: 00Dg0000001qRWF
80 sfdc_sandbox_enabled: True
81
82 # OSS openstack
83 oss_openstack_auth_url: https://cloud-cz.bud.mirantis.net:5000/v3
84 oss_openstack_username: admin
85 oss_openstack_password: passwd
86 oss_openstack_project: admin
87 oss_openstack_domain_id: default
88 oss_openstack_ssl_verify: True
89 oss_openstack_endpoint_type: public
90 oss_openstack_credentials_path: /srv/volumes/rundeck/storage
91 oss_openstack_cert: |
92 ---cert----
93
94 # SecurityMonkey
95 secmonkey_db_user: secmonkey
96 secmonkey_db_user_password: secmonkey
97 secmonkey_db_host: ${_param:postgresql_bind_host}
98 security_monkey_openstack:
99 username: ${_param:oss_openstack_username}
100 password: ${_param:oss_openstack_password}
101 auth_url: ${_param:oss_openstack_auth_url}
102 user_domain_name: ${_param:oss_openstack_domain_id}
103 project_domain_name: ${_param:oss_openstack_domain_id}
104 ssl_verify: ${_param:oss_openstack_ssl_verify}
105 endpoint_type: ${_param:oss_openstack_endpoint_type}
106 source_credentials: ${_param:oss_openstack_credentials_path}
107
108 # JanitorMonkey
109 janitor_monkey_openstack:
110 username: ${_param:oss_openstack_username}
111 password: ${_param:oss_openstack_password}
112 auth_url: ${_param:oss_openstack_auth_url}
113 project_name: ${_param:oss_openstack_project}
114 project_domain_name: ${_param:oss_openstack_domain_id}
115 ssl_verify: ${_param:oss_openstack_ssl_verify}
116# endpoint_type: ${_param:oss_openstack_endpoint_type}
117 source_credentials: ${_param:oss_openstack_credentials_path}
118
119
120 # Rundeck
121 rundeck_db_host: ${_param:haproxy_postgresql_bind_host}
122 rundeck_db_user: rundeck
123 rundeck_db_user_password: password
124 rundeck_server_ssh_timeout: 900000000
125
126 rundeck_forward_iframe: False
127 rundeck_iframe_host: ''
128 rundeck_iframe_port: ${_param:haproxy_rundeck_exposed_port}
129 rundeck_iframe_ssl: False
130
131 rundeck_postgresql_username: ${_param:rundeck_db_user}
132 rundeck_postgresql_password: ${_param:rundeck_db_user_password}
133 rundeck_postgresql_database: rundeck
134 rundeck_postgresql_host: ${_param:rundeck_db_host}
135 rundeck_cis_openstack:
136 auth_url: ${_param:oss_openstack_auth_url}/auth/tokens
137 username: ${_param:oss_openstack_username}
138 password: ${_param:oss_openstack_password}
139 project_name: ${_param:oss_openstack_project}
140 domain_id: ${_param:oss_openstack_domain_id}
141 cert: ${_param:oss_openstack_cert}
142 ssl_cert_file: cert.pem
143 rundeck_cis_elasticsearch_url: http://${_param:haproxy_elasticsearch_bind_host}:${_param:haproxy_elasticsearch_http_bind_port}