blob: da495f8adb490bd4d3c82b3624b51027889b7e8b [file] [log] [blame]
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +03001classes:
2- system.linux.network.dynamic_hosts
3- system.linux.system.repo_local.mcp.extra
4- system.linux.system.repo.mcp.apt_mirantis.saltstack
5- system.linux.system.repo.mcp.apt_mirantis.ubuntu
6- system.linux.system.repo_local.mcp.apt_mirantis.openstack
7- system.linux.system.single
8- system.linux.system.single.debian
9- system.watchdog.server
10- system.rsyslog.client.single
11- system.openssh.server.team.lab
12- system.openssh.server.team.tcpcloud
13- system.openssh.server.team.mcp_qa
14- system.auditd.server.ciscat
15- system.salt.minion.single
16- system.rsyslog.client.single
17- cluster.virtual-offline-pike-ovs-dpdk.openstack
18- cluster.virtual-offline-pike-ovs-dpdk.cicd
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000019parameters:
Tatyana Leontovich3a9e8682018-08-30 19:25:01 +030020 _param:
21 cluster_domain: virtual-offline-pike-ovs-dpdk.local
22 cluster_name: virtual-offline-pike-ovs-dpdk
23 infra_config_hostname: cfg01
24 local_repos: true
25 apt_mk_version: proposed
26 openstack_version: pike
27 jenkins_pipelines_branch: '${_param:apt_mk_version}'
28 # new in 2018.7+
29 linux_system_repo_url: http://${_param:local_repo_url}/${_param:apt_mk_version}/
30 #
31 local_repo_url: mirror.mcp.mirantis.local.test
32 linux_repo_refresh_db: true
33 aptly_server_address: 10.170.0.226
34 docker_compose_image: ${_param:aptly_server_address}:5000/compose:1.8.0
35 # infra service addresses
36 infra_config_address: 172.16.10.100
37 # openstack service addresses
38 openstack_proxy_address: 172.16.10.121
39 openstack_proxy_node01_address: 172.16.10.121
40 openstack_control_address: 172.16.10.254
41 openstack_control_node01_address: 172.16.10.101
42 openstack_control_node02_address: 172.16.10.102
43 openstack_control_node03_address: 172.16.10.103
44 openstack_gateway_address: 172.16.10.110
45 openstack_database_address: ${_param:openstack_control_address}
46 openstack_message_queue_address: ${_param:openstack_control_address}
47 openstack_message_queue_node01_address: ${_param:openstack_control_node01_address}
48 openstack_message_queue_node02_address: ${_param:openstack_control_node02_address}
49 openstack_message_queue_node03_address: ${_param:openstack_control_node03_address}
50 glusterfs_node01_address: ${_param:openstack_control_node01_address}
51 glusterfs_node02_address: ${_param:openstack_control_node02_address}
52 glusterfs_node03_address: ${_param:openstack_control_node03_address}
53 openstack_gateway_address: 172.16.10.110
54 openstack_gateway_node01_address: ${_param:openstack_gateway_address}
55 remote_rsyslog_host: 127.0.0.3
56 remote_rsyslog_port: 10514
57 salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain}
58 rsyslog:
59 client:
60 run_user: syslog
61 run_group: adm
62 enabled: true
63 rainerscript:
64 module:
65 imfile: {}
66 input:
67 imfile:
68 nginx:
69 File: "/var/log/nginx/*.log"
70 Tag: "nginx__"
71 Severity: "notice"
72 Facility: "local0"
73 PersistStateInterval: "0"
74 Ruleset: "myapp_logs"
75 apache2:
76 File: "/var/log/apache2/*.log"
77 Tag: "apache2__"
78 Severity: "notice"
79 Facility: "local0"
80 Ruleset: "myapp_logs"
81 PersistStateInterval: "0"
82 rabbitmq:
83 File: "/var/log/rabbitmq/*.log"
84 Tag: "rabbitmq__"
85 Severity: "notice"
86 Facility: "local0"
87 PersistStateInterval: "0"
88 Ruleset: "myapp_logs"
89 template:
90 ImfileFilePath:
91 parameter:
92 type: string
93 string: "<%PRI%>%TIMESTAMP:::date-rfc3339% %HOSTNAME% %syslogtag:1:32%%$.suffix%%msg:::sp-if-no-1st-sp%%msg%\n"
94 ruleset:
95 remote_logs:
96 description: 'action(type="omfwd" Target="${_param:remote_rsyslog_host}" Port="${_param:remote_rsyslog_port}" Protocol="udp" Template="ImfileFilePath")'
97 myapp_logs:
98 description: 'set $.suffix=re_extract($!metadata!filename, "(.*)/([^/]*[^/.log])", 0, 2, "all.log"); call remote_logs'
99 output:
100 remote:
101 somehost.domain:
102 action: "@${_param:remote_rsyslog_host}:${_param:remote_rsyslog_port}"
103 filter: "*.*"
104 enabled: true
105 salt:
106 minion:
107 trusted_ca_minions:
108 - ${_param:salt_minion_ca_host}
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000109 linux:
110 network:
111 host:
112 cfg01:
113 address: ${_param:infra_config_address}
114 names:
115 - ${_param:infra_config_hostname}
116 - ${_param:infra_config_hostname}.${_param:cluster_domain}
117 cfg:
118 address: ${_param:infra_config_address}
119 names:
120 - cfg
121 - cfg.${_param:cluster_domain}