Skip to content

Instantly share code, notes, and snippets.

Created July 8, 2015 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/455da53276daffe01ec5 to your computer and use it in GitHub Desktop.
Save anonymous/455da53276daffe01ec5 to your computer and use it in GitHub Desktop.
[DEBUG ] Results of YAML rendering:
OrderedDict([('os:Ubuntu', [OrderedDict([('match', 'grains')]), 'apt']), ('os:Debian', [OrderedDict([('match', 'grains')]), 'apt2'])])
[INFO ] Returning information for job: 20150708121903280001
[DEBUG ] Re-using SAuth for ('/etc/salt/pki/minion', 'srv-spb-004', 'tcp://10.0.0.125:4506')
[INFO ] User root Executing command state.highstate with jid 20150708122725601778
[DEBUG ] Command details {'tgt_type': 'glob', 'jid': '20150708122725601778', 'tgt': 'srv-spb-004', 'ret': '', 'user': 'root', 'arg': [], 'fun': 'state.highstate'}
[INFO ] Starting a new job with PID 24821
[DEBUG ] LazyLoaded state.highstate
[DEBUG ] LazyLoaded grains.get
[DEBUG ] LazyLoaded saltutil.is_running
[DEBUG ] Re-using SAuth for ('/etc/salt/pki/minion', 'srv-spb-004', 'tcp://10.0.0.125:4506')
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Re-using SAuth for ('/etc/salt/pki/minion', 'srv-spb-004', 'tcp://10.0.0.125:4506')
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[INFO ] Loading fresh modules for state activity
[DEBUG ] LazyLoaded jinja.render
[DEBUG ] LazyLoaded yaml.render
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://top.sls'
[DEBUG ] LazyLoaded cmd.run
[DEBUG ] Jinja search path: ['/var/cache/salt/minion/files/base']
[DEBUG ] Rendered data from file: /var/cache/salt/minion/files/base/top.sls:
base:
'srv-spb-004':
- htop
#srv:
# group1:
# - match: nodegroup
# - apt
# group2:
# - match: nodegroup
# - apt2
#'roles:apt':
# - match: grain
# - apt
#'G@roles:apt2':
# - match: grain
# - apt2
[DEBUG ] LazyLoaded config.get
[DEBUG ] Results of YAML rendering:
OrderedDict([('base', OrderedDict([('srv-spb-004', ['htop'])]))])
[INFO ] Fetching file from saltenv 'srv', ** skipped ** latest already in cache 'salt://top.sls'
[DEBUG ] Jinja search path: ['/var/cache/salt/minion/files/srv']
[DEBUG ] Rendered data from file: /var/cache/salt/minion/files/srv/top.sls:
#group1:
# - match: nodegroup
# - apt
#group2:
# - match: nodegroup
# - apt2
'os:Ubuntu':
- match: grains
- apt
'os:Debian':
- match: grains
- apt2
[DEBUG ] Results of YAML rendering:
OrderedDict([('os:Ubuntu', [OrderedDict([('match', 'grains')]), 'apt']), ('os:Debian', [OrderedDict([('match', 'grains')]), 'apt2'])])
[INFO ] Returning information for job: 20150708122725601778
[DEBUG ] Re-using SAuth for ('/etc/salt/pki/minion', 'srv-spb-004', 'tcp://10.0.0.125:4506')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment