Sample Pillars | |
============== | |
Collect artifacts and deploy to artifactory: | |
Actifact list: | |
- packages list - collected by default | |
- Salt pillar - collected by default | |
- Salt grains - collected by default | |
- Logs - see example below | |
- Cmd output - see example below | |
.. code-block:: yaml | |
runtest: | |
keystonerc_node: ctl01* | |
test_target: gtw01* | |
artifact_collector: | |
enabled: true | |
artifactory: | |
enabled: true | |
user: some_user_name | |
password: some_password | |
host: artifactory.mcp.mirantis.net | |
port: 443 | |
proto: https | |
endpoint: /oscore-local/${_param:cluster_domain}/${_param:infra_config_hostname} | |
artifacts: | |
sys_logs: | |
path: /var/log | |
etc: | |
path: /etc | |
cmds: | |
some_cmd: | |
cmd: ip addr | |
dst: /tmp/ip_addr.txt | |
yet_another_cmd: | |
cmd: ps -ef | |
dst: /tmp/ps.txt |