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