Skip to content

Instantly share code, notes, and snippets.

Created December 8, 2016 14:37
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/1534dcdc49b7d29166d50ee2807a2dc1 to your computer and use it in GitHub Desktop.
Save anonymous/1534dcdc49b7d29166d50ee2807a2dc1 to your computer and use it in GitHub Desktop.
Salt error
dev:
'dev*':
- data
'service-dev*':
- service
[root@localhost] salt '*' state.apply saltenv=dev
prod-test:
----------
no_|-states_|-states_|-None:
----------
__run_num__:
0
changes:
----------
comment:
No Top file or external nodes data matches found.
name:
No States
result:
False
dev-product:
----------
file_|-property_file_|-/opt/dev12345.file_|-managed:
----------
__run_num__:
0
changes:
----------
comment:
File /opt/dev12345.file is in the correct state
duration:
26.795
name:
/opt/dev12345.file
result:
True
start_time:
09:23:58.916815
ERROR: Minions returned with non-zero exit code
file_roots:
dev:
- /srv/salt/dev
prod:
- /srv/salt/prod
pillar_roots:
dev:
- /srv/pillar/dev
prod:
- /srv/pillar/prod
prod:
'prod*':
- data
'service-prod*':
- service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment