Skip to content

Instantly share code, notes, and snippets.

@mgwilliams
Last active August 29, 2015 13:57
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 mgwilliams/999c0dc4c57945c26032 to your computer and use it in GitHub Desktop.
Save mgwilliams/999c0dc4c57945c26032 to your computer and use it in GitHub Desktop.
An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/salt/state.py", line 1371, in call
**cdata['kwargs'])
File "/usr/lib/pymodules/python2.7/salt/states/file.py", line 1240, in managed
**kwargs
File "/usr/lib/pymodules/python2.7/salt/modules/file.py", line 2305, in check_managed
**kwargs)
File "/usr/lib/pymodules/python2.7/salt/modules/file.py", line 2031, in get_managed
sfn = __salt__['cp.cache_file'](source, saltenv)
File "/usr/lib/pymodules/python2.7/salt/modules/cp.py", line 310, in cache_file
result = __context__['cp.fileclient'].cache_file(path, saltenv)
File "/usr/lib/pymodules/python2.7/salt/fileclient.py", line 143, in cache_file
return self.get_url(path, '', True, saltenv)
File "/usr/lib/pymodules/python2.7/salt/fileclient.py", line 503, in get_url
return self.get_file(url, dest, makedirs, saltenv)
File "/usr/lib/pymodules/python2.7/salt/fileclient.py", line 941, in get_file
if not data['data']:
TypeError: string indices must be integers, not str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment