-
-
Save nitay/24b15871b28a3b37c02d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# salt-call state.sls pip | |
Traceback (most recent call last): | |
File "/usr/bin/salt-call", line 11, in <module> | |
salt_call() | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 227, in salt_call | |
client.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 69, in run | |
caller.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 236, in run | |
ret = self.call() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 138, in call | |
ret['return'] = func(*args, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 681, in sls | |
ret = st_.state.call_high(high_) | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2068, in call_high | |
ret = dict(list(disabled.items()) + list(self.call_chunks(chunks).items())) | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1624, in call_chunks | |
running = self.call_chunk(low, running, chunks) | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1770, in call_chunk | |
self._mod_init(low) | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 613, in _mod_init | |
self.states['{0}.{1}'.format(low['state'], low['fun'])] # pylint: disable=W0106 | |
File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 90, in __getitem__ | |
raise KeyError(key) | |
KeyError: 'pip.installed' | |
# pip.sls | |
pip-pkg: | |
pkg.installed: | |
- names: | |
- python-pip | |
pip-utils: | |
pip.installed: | |
- names: | |
- awscli | |
- pygerduty | |
- yolk | |
- require: | |
- pkg: python-pip | |
# salt-call --versions-report | |
Salt: 2015.5.3 | |
Python: 2.7.6 (default, Mar 22 2014, 22:59:56) | |
Jinja2: 2.7.2 | |
M2Crypto: 0.21.1 | |
msgpack-python: 0.3.0 | |
msgpack-pure: Not Installed | |
pycrypto: 2.6.1 | |
libnacl: Not Installed | |
PyYAML: 3.10 | |
ioflo: Not Installed | |
PyZMQ: 14.0.1 | |
RAET: Not Installed | |
ZMQ: 4.0.4 | |
Mako: Not Installed | |
Tornado: Not Installed | |
Debian source package: 2015.5.3+ds-1trusty1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment