Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - system.linux.network.dynamic_hosts |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 3 | - system.linux.system.repo_local.mcp.extra |
azvyagintsev | 98cba95 | 2018-07-13 12:40:53 +0300 | [diff] [blame] | 4 | - system.linux.system.repo.mcp.apt_mirantis.saltstack |
| 5 | - system.linux.system.repo.mcp.apt_mirantis.ubuntu |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 6 | - system.linux.system.single |
Tatyana Leontovich | 67abbf8 | 2018-03-23 19:11:02 +0200 | [diff] [blame] | 7 | - system.linux.system.single.debian |
Tatyana Leontovich | 59ce1c3 | 2018-03-29 23:59:25 +0300 | [diff] [blame] | 8 | - system.watchdog.server |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 9 | - system.rsyslog.client.single |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 10 | - system.openssh.server.team.lab |
| 11 | - system.openssh.server.team.tcpcloud |
| 12 | - system.openssh.server.team.mcp_qa |
Tatyana Leontovich | eed679c | 2018-07-23 16:29:36 +0300 | [diff] [blame] | 13 | - system.auditd.server.ciscat |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 14 | - cluster.virtual-offline-pike-ovs-dpdk.infra |
| 15 | - cluster.virtual-offline-pike-ovs-dpdk.openstack |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 16 | |
| 17 | parameters: |
| 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 |
azvyagintsev | 98cba95 | 2018-07-13 12:40:53 +0300 | [diff] [blame] | 23 | # new in 2018.7+ |
| 24 | linux_system_repo_url: http://${_param:local_repo_url}/${_param:apt_mk_version}/ |
| 25 | # |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 26 | 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 Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 45 | openstack_gateway_address: 172.16.10.110 |
| 46 | openstack_gateway_node01_address: ${_param:openstack_gateway_address} |
Oleksii Chupryn | 71e8786 | 2018-03-16 09:57:49 +0200 | [diff] [blame] | 47 | 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 |