Advertisement
Guest User

Salt File Error

a guest
Aug 7th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. us-east-1b-dev-saltmaster-i-e072da81:
  2. ----------
  3. State: - pkg
  4. Name: td-agent
  5. Function: installed
  6. Result: True
  7. Comment: Package td-agent is already installed
  8. Changes:
  9. ----------
  10. State: - file
  11. Name: /etc/td-agent/td-agent.conf
  12. Function: managed
  13. Result: False
  14. Comment: An exception occurred in this state: Traceback (most recent call last):
  15. File "/usr/lib/python2.6/site-packages/salt/state.py", line 1201, in call
  16. File "/usr/lib/python2.6/site-packages/salt/states/file.py", line 854, in managed
  17. contents)
  18. File "/usr/lib/python2.6/site-packages/salt/modules/file.py", line 1554, in manage_file
  19. if not salt.utils.istextfile(sfn) \
  20. File "/usr/lib/python2.6/site-packages/salt/utils/__init__.py", line 708, in istextfile
  21. by reading a single block of bytes from the file.
  22. AttributeError: 'str' object has no attribute 'read'
  23.  
  24. Changes:
  25. ----------
  26. State: - service
  27. Name: td-agent
  28. Function: running
  29. Result: False
  30. Comment: One or more requisite failed
  31. Changes:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement