View difference between Paste ID: aZj8KGJp and n23xbMYT
SHOW: | | - or go back to the newest paste.
1-
stretch# salt 'chris1*' state.highstate test=True
1+
stretch# salt chris1\* state.highstate
2
chris1.insightcruises.com:
3
    Data failed to compile:
4
----------
5
    Traceback (most recent call last):
6
  File "/usr/local/lib/python2.7/site-packages/salt/state.py", line 2349, in call_highstate
7
    'as a list'.format(sls))
8
  File "/usr/local/lib/python2.7/site-packages/salt/state.py", line 1926, in get_top
9
    for sls_match in states:
10
  File "/usr/local/lib/python2.7/site-packages/salt/state.py", line 1809, in get_tops
11
  File "/usr/local/lib/python2.7/site-packages/salt/template.py", line 69, in compile_template
12
    pass
13
  File "/usr/local/lib/python2.7/site-packages/salt/renderers/jinja.py", line 39, in render
14
    **kws)
15
  File "/usr/local/lib/python2.7/site-packages/salt/utils/templates.py", line 50, in render_tmpl
16
    # We want explicit context to overwrite the **kws
17
AssertionError
18
19
stretch# cat chris1.txt
20
This is a test.
21
/tmp/chris1.txt:
22
  file:
23
    - managed
24
    - source: salt://chris1.txt
25
stretch# cat chris1.sls
26
/:
27
  file.present:
28
stretch# cat top.sls
29
base:
30
  'chris1*':
31
    - chris1