salt.states.saltsupport module

codeauthor

Bo Maryniuk <bo@suse.de>

Execution of Salt Support from within states

State to collect support data from the systems:

examine_my_systems:
  support.taken:
    - profile: default

  support.collected:
    - group: somewhere
    - move: true
class salt.states.saltsupport.SaltSupportState

Salt-support.

EXPORTED = ['collected', 'taken']
check_destination(location, group)

Check destination for the archives. :return:

collected(group, filename=None, host=None, location=None, move=True, all=True)

Sync archives to a central place.

Parameters
  • name --

  • group --

  • filename --

  • host --

  • location --

  • move --

  • all --

Returns

get_kwargs(data)
taken(profile='default', pillar=None, archive=None, output='nested')

Takes minion support config data.

Parameters
  • profile --

  • pillar --

  • archive --

  • output --

Returns

salt.states.saltsupport.collected(name, group, filename=None, host=None, location=None, move=True, all=True)
salt.states.saltsupport.taken(name, profile='default', pillar=None, archive=None, output='nested')