Skip to content

Instantly share code, notes, and snippets.

Created November 23, 2013 00:45
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/7609315 to your computer and use it in GitHub Desktop.
Save anonymous/7609315 to your computer and use it in GitHub Desktop.
cross:log chbaker$ cat /srv/salt/tmux/init.sls
tmux:
pkg:
- installed
cross:log chbaker$ cat /srv/salt/zsh/init.sls
zsh:
pkg:
- installed
cross:log chbaker$
sudo salt '*' state.highstate test=True
32.11.168.192.in-addr.arpa:
----------
State: - pkg
Name: tmux
Function: installed
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/salt/state.py", line 1278, in call
*cdata['args'], **cdata['kwargs'])
File "/usr/local/lib/python2.7/site-packages/salt/states/pkg.py", line 423, in installed
__salt__['pkg.refresh_db']()
KeyError: 'pkg.refresh_db'
Changes:
----------
State: - pkg
Name: zsh
Function: installed
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/salt/state.py", line 1278, in call
*cdata['args'], **cdata['kwargs'])
File "/usr/local/lib/python2.7/site-packages/salt/states/pkg.py", line 423, in installed
__salt__['pkg.refresh_db']()
KeyError: 'pkg.refresh_db'
Changes:
Summary
------------
Succeeded: 0
Failed: 2
------------
Total: 2
cross:~ chbaker$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment