blob: 5df03f5c76661b9eaeb2fd89d150bff7271ec1c0 [file] [log] [blame]
Oleg Iurchenko67c64852018-01-30 13:32:35 +02001
2Sample Pillars
3==============
4
5Collect artifacts and deploy to artifactory:
6Actifact 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 Hryhorov220f6322018-03-19 13:08:08 +020015 keystonerc_node: ctl01*
16 test_target: gtw01*
Oleg Iurchenko67c64852018-01-30 13:32:35 +020017 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