blob: 4d24d4269915ff0620820e76cd15c52f31b1d7a9 [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:
15 artifact_collector:
16 enabled: true
17 artifactory:
18 enabled: true
19 user: some_user_name
20 password: some_password
21 host: artifactory.mcp.mirantis.net
22 port: 443
23 proto: https
24 endpoint: /oscore-local/${_param:cluster_domain}/${_param:infra_config_hostname}
25 artifacts:
26 sys_logs:
27 path: /var/log
28 etc:
29 path: /etc
30 cmds:
31 some_cmd:
32 cmd: ip addr
33 dst: /tmp/ip_addr.txt
34 yet_another_cmd:
35 cmd: ps -ef
36 dst: /tmp/ps.txt