Module to run salt-support within Salt.
Output collector.
Salt Support module class.
Get list of existing archives. :return:
Delete archives :return:
Format stats of the sync output.
cnt --
Get the last available archive :return:
Get list of profiles.
Run Salt Support on the minion.
Set available profile name. Default is "default".
Set available profile from the pillars.
Override archive name. Default is "support". This results to "hostname-support-YYYYMMDD-hhmmss.bz2".
Change the default outputter. Default is "nested".
CLI Example:
salt '*' support.run
salt '*' support.run profile=network
salt '*' support.run pillar=something_special
Return current configuration :return:
Sync the latest archive to the host on given location.
CLI Example:
salt '*' support.sync group=test
salt '*' support.sync group=test name=/tmp/myspecial-12345-67890.bz2
salt '*' support.sync group=test name=/tmp/myspecial-12345-67890.bz2 host=allmystuff.lan
salt '*' support.sync group=test name=/tmp/myspecial-12345-67890.bz2 host=allmystuff.lan location=/opt/
group -- name of the local directory to which sync is going to put the result files
name -- name of the archive. Latest, if not specified.
host -- name of the destination host for rsync. Default is master, if not specified.
location -- local destination directory, default temporary if not specified
move -- move archive file[s]. Default is False.
all -- work with all available archives. Default is False (i.e. latest available)