Skip to content

Instantly share code, notes, and snippets.

@abemusic
Last active January 3, 2016 22:39
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 abemusic/8529485 to your computer and use it in GitHub Desktop.
Save abemusic/8529485 to your computer and use it in GitHub Desktop.
>>> salt foo-nn state.sls foo.test
foo-nn:
----------
ID: wget
Function: pkg.installed
Result: False
Comment: State pkg.installed found in sls foo.test is unavailable
Changes:
----------
Summary
------------
Succeeded: 0
Failed: 1
------------
Total: 1
2014-01-20 21:20:04,580 [salt.loader ][DEBUG ] KeyError when loading yumpkg5
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/loader.py", line 779, in gen_functions
virtual = mod.__virtual__()
File "/usr/lib/python2.6/site-packages/salt/modules/yumpkg5.py", line 47, in __virtual__
if __opts__['yum_provider'] == 'yumpkg':
KeyError: 'yum_provider'
wget:
pkg:
- installed
MASTER
Salt: 2014.1.0-433-ga4bb518
Python: 2.6.6 (r266:84292, Jul 10 2013, 22:48:45)
Jinja2: 2.6
M2Crypto: 0.21.1
msgpack-python: 0.3.0
msgpack-pure: Not Installed
pycrypto: 2.6
PyYAML: 3.10
PyZMQ: 13.1.0
ZMQ: 3.2.2
MINION
Salt: 2014.1.0-433-ga4bb518
Python: 2.6.6 (r266:84292, Jul 10 2013, 22:48:45)
Jinja2: 2.2.1
M2Crypto: 0.20.2
msgpack-python: 0.1.13
msgpack-pure: Not Installed
pycrypto: 2.0.1
PyYAML: 3.10
PyZMQ: 2.2.0.1
ZMQ: 3.2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment