Advertisement
Guest User

Untitled

a guest
Jan 26th, 2014
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. root@ip-10-50-0-40:/usr/local/etc/salt # cat minion
  2. providers:
  3. pkg: pkgng
  4. root@ip-10-50-0-40:/usr/local/etc/salt # cat states/
  5. top.sls webserver.sls
  6. root@ip-10-50-0-40:/usr/local/etc/salt # cat states/webserver.sls
  7. apache22:
  8. pkgng:
  9. - install
  10. root@ip-10-50-0-40:/usr/local/etc/salt # salt-call --local state.highstate -l debug
  11. [DEBUG ] Loaded pprint_out as virtual pprint
  12. local:
  13. ----------
  14. State: - pkgng
  15. Name: apache22
  16. Function: install
  17. Result: False
  18. Comment: State pkgng.install found in sls webserver is unavailable
  19.  
  20. Changes:
  21.  
  22. (Same as above with pkg instead of pkgng in webserver.sls)
  23. [DEBUG ] Loaded pprint_out as virtual pprint
  24. local:
  25. ----------
  26. State: - pkg
  27. Name: apache22
  28. Function: install
  29. Result: False
  30. Comment: State pkg.install found in sls webserver is unavailable
  31.  
  32. Changes:
  33. (Same as above with "pkg" and "installed", this seems to be https://github.com/saltstack/salt/issues/8738#issuecomment-29094171 )
  34. ocal:
  35. ----------
  36. State: - pkg
  37. Name: apache22
  38. Function: installed
  39. Result: False
  40. Comment: An exception occurred in this state: Traceback (most recent call last):
  41. File "/usr/local/lib/python2.7/site-packages/salt/state.py", line 1305, in call
  42. *cdata['args'], **cdata['kwargs'])
  43. File "/usr/local/lib/python2.7/site-packages/salt/states/pkg.py", line 465, in installed
  44. **kwargs)
  45. TypeError: install() got an unexpected keyword argument 'skip_verify'
  46.  
  47. Changes:
  48. (Same as above with "pkgng" and "installed")
  49. local:
  50. ----------
  51. State: - pkgng
  52. Name: apache22
  53. Function: installed
  54. Result: False
  55. Comment: State pkgng.installed found in sls webserver is unavailable
  56.  
  57. Changes:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement