blob: 84fdfce31c1683be06a4aeb2c143d413a58fb434 [file] [log] [blame]
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +00001classes:
2- system.linux.network.dynamic_hosts
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +00003- system.linux.system.repo_local.mcp.extra
azvyagintsev98cba952018-07-13 12:40:53 +03004- system.linux.system.repo.mcp.apt_mirantis.saltstack
5- system.linux.system.repo.mcp.apt_mirantis.ubuntu
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +00006- system.linux.system.single
Tatyana Leontovich67abbf82018-03-23 19:11:02 +02007- system.linux.system.single.debian
Tatyana Leontovich59ce1c32018-03-29 23:59:25 +03008- system.watchdog.server
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +00009- system.rsyslog.client.single
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000010- system.openssh.server.team.lab
11- system.openssh.server.team.tcpcloud
12- system.openssh.server.team.mcp_qa
Tatyana Leontovicheed679c2018-07-23 16:29:36 +030013- system.auditd.server.ciscat
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000014- cluster.virtual-offline-pike-ovs-dpdk.infra
15- cluster.virtual-offline-pike-ovs-dpdk.openstack
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000016
17parameters:
18 _param:
19 cluster_domain: virtual-offline-pike-ovs-dpdk.local
20 cluster_name: virtual-offline-pike-ovs-dpdk
21 infra_config_hostname: cfg01
22 local_repos: true
azvyagintsev98cba952018-07-13 12:40:53 +030023 # new in 2018.7+
24 linux_system_repo_url: http://${_param:local_repo_url}/${_param:apt_mk_version}/
25 #
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000026 local_repo_url: mirror.mcp.mirantis.local.test
27 linux_repo_refresh_db: true
28 aptly_server_address: 10.170.0.226
29 # infra service addresses
30 infra_config_address: 172.16.10.100
31 # openstack service addresses
32 openstack_proxy_address: 172.16.10.121
33 openstack_proxy_node01_address: 172.16.10.121
34 openstack_control_address: 172.16.10.254
35 openstack_control_node01_address: 172.16.10.101
36 openstack_control_node02_address: 172.16.10.102
37 openstack_control_node03_address: 172.16.10.103
38 openstack_gateway_address: 172.16.10.110
39 openstack_database_address: ${_param:openstack_control_address}
40 openstack_message_queue_address: ${_param:openstack_control_address}
41 openstack_message_queue_node01_address: ${_param:openstack_control_node01_address}
42 openstack_message_queue_node02_address: ${_param:openstack_control_node02_address}
43 openstack_message_queue_node03_address: ${_param:openstack_control_node03_address}
44 # stacklight service addresses
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000045 openstack_gateway_address: 172.16.10.110
46 openstack_gateway_node01_address: ${_param:openstack_gateway_address}
Oleksii Chupryn71e87862018-03-16 09:57:49 +020047 remote_rsyslog_host: 127.0.0.3
48 remote_rsyslog_port: 10514
49 rsyslog:
50 client:
51 run_user: syslog
52 run_group: adm
53 enabled: true
54 rainerscript:
55 module:
56 imfile: {}
57 input:
58 imfile:
59 nginx:
60 File: "/var/log/nginx/*.log"
61 Tag: "nginx__"
62 Severity: "notice"
63 Facility: "local0"
64 PersistStateInterval: "0"
65 Ruleset: "myapp_logs"
66 apache2:
67 File: "/var/log/apache2/*.log"
68 Tag: "apache2__"
69 Severity: "notice"
70 Facility: "local0"
71 Ruleset: "myapp_logs"
72 PersistStateInterval: "0"
73 rabbitmq:
74 File: "/var/log/rabbitmq/*.log"
75 Tag: "rabbitmq__"
76 Severity: "notice"
77 Facility: "local0"
78 PersistStateInterval: "0"
79 Ruleset: "myapp_logs"
80 template:
81 ImfileFilePath:
82 parameter:
83 type: string
84 string: "<%PRI%>%TIMESTAMP:::date-rfc3339% %HOSTNAME% %syslogtag:1:32%%$.suffix%%msg:::sp-if-no-1st-sp%%msg%\n"
85 ruleset:
86 remote_logs:
87 description: 'action(type="omfwd" Target="${_param:remote_rsyslog_host}" Port="${_param:remote_rsyslog_port}" Protocol="udp" Template="ImfileFilePath")'
88 myapp_logs:
89 description: 'set $.suffix=re_extract($!metadata!filename, "(.*)/([^/]*[^/.log])", 0, 2, "all.log"); call remote_logs'
90 output:
91 remote:
92 somehost.domain:
93 action: "@${_param:remote_rsyslog_host}:${_param:remote_rsyslog_port}"
94 filter: "*.*"
95 enabled: true