Oleg Iurchenko | 67c6485 | 2018-01-30 13:32:35 +0200 | [diff] [blame] | 1 | |
| 2 | Sample Pillars |
| 3 | ============== |
| 4 | |
| 5 | Collect artifacts and deploy to artifactory: |
| 6 | Actifact list: |
| 7 | - packages list - collected by default |
| 8 | - Salt pillar - collected by default |
| 9 | - Salt grains - collected by default |
| 10 | - Logs - see example below |
| 11 | - Cmd output - see example below |
| 12 | |
| 13 | .. code-block:: yaml |
| 14 | runtest: |
Oleh Hryhorov | 220f632 | 2018-03-19 13:08:08 +0200 | [diff] [blame] | 15 | keystonerc_node: ctl01* |
| 16 | test_target: gtw01* |
Oleg Iurchenko | 67c6485 | 2018-01-30 13:32:35 +0200 | [diff] [blame] | 17 | artifact_collector: |
| 18 | enabled: true |
| 19 | artifactory: |
| 20 | enabled: true |
| 21 | user: some_user_name |
| 22 | password: some_password |
| 23 | host: artifactory.mcp.mirantis.net |
| 24 | port: 443 |
| 25 | proto: https |
| 26 | endpoint: /oscore-local/${_param:cluster_domain}/${_param:infra_config_hostname} |
| 27 | artifacts: |
| 28 | sys_logs: |
| 29 | path: /var/log |
| 30 | etc: |
| 31 | path: /etc |
| 32 | cmds: |
| 33 | some_cmd: |
| 34 | cmd: ip addr |
| 35 | dst: /tmp/ip_addr.txt |
| 36 | yet_another_cmd: |
| 37 | cmd: ps -ef |
| 38 | dst: /tmp/ps.txt |