Advertisement
Guest User

Untitled

a guest
Oct 7th, 2014
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. deps:
  2. pkg.installed:
  3. - pkgs:
  4. - lsof
  5. ¦ - curl
  6. ¦ - git-core
  7. ¦ - build-essential
  8. ¦ - openssl
  9. ¦ - libssl-dev
  10. ¦ - pkg-config
  11. ¦ - python-pip
  12. ¦ - libxml2
  13. ¦ - libxml2-dev
  14. ¦ - ntp
  15. ¦ - ntpdate
  16. ¦ - iftop
  17. ¦ - iotop
  18. ¦ - traceroute
  19. ¦ - python-dev
  20. ¦ - libxml2-dev
  21. ¦ - tmux
  22. ¦ - tig
  23. ¦ - vim
  24. ¦ - python-software-properties
  25. ¦ - libevent-dev
  26. ¦ - libpcre3-dev
  27. ¦ - libzmq3-dev
  28. ¦ - pciutils
  29. ¦ - locales
  30.  
  31. salt-minion:
  32. pkg.latest
  33.  
  34. bash:
  35. pkg.latest
  36.  
  37.  
  38.  
  39. ----------
  40. ID: deps
  41. Function: pkg.installed
  42. Result: False
  43. Comment: An exception occurred in this state: Traceback (most recent call last):
  44. File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1379, in call
  45. **cdata['kwargs'])
  46. File "/usr/lib/python2.7/dist-packages/salt/states/pkg.py", line 468, in installed
  47. **kwargs)
  48. File "/usr/lib/python2.7/dist-packages/salt/states/pkg.py", line 215, in _find_install_targets
  49. cver = cur_pkgs.get(pkgname, [])
  50. AttributeError: 'str' object has no attribute 'get'
  51. Changes:
  52. ----------
  53. ID: salt-minion
  54. Function: pkg.latest
  55. Result: False
  56. Comment: An exception occurred in this state: Traceback (most recent call last):
  57. File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1379, in call
  58. **cdata['kwargs'])
  59. File "/usr/lib/python2.7/dist-packages/salt/states/pkg.py", line 677, in latest
  60. cur = __salt__['pkg.version'](*desired_pkgs, **kwargs)
  61. File "/usr/lib/python2.7/dist-packages/salt/modules/aptpkg.py", line 273, in version
  62. return __salt__['pkg_resource.version'](*names, **kwargs)
  63. File "/usr/lib/python2.7/dist-packages/salt/modules/pkg_resource.py", line 164, in version
  64. ret[name] = pkgs.get(name, [])
  65. AttributeError: 'str' object has no attribute 'get'
  66. Changes:
  67. ----------
  68. ID: bash
  69. Function: pkg.latest
  70. Result: False
  71. Comment: An exception occurred in this state: Traceback (most recent call last):
  72. File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1379, in call
  73. **cdata['kwargs'])
  74. File "/usr/lib/python2.7/dist-packages/salt/states/pkg.py", line 677, in latest
  75. cur = __salt__['pkg.version'](*desired_pkgs, **kwargs)
  76. File "/usr/lib/python2.7/dist-packages/salt/modules/aptpkg.py", line 273, in version
  77. return __salt__['pkg_resource.version'](*names, **kwargs)
  78. File "/usr/lib/python2.7/dist-packages/salt/modules/pkg_resource.py", line 164, in version
  79. ret[name] = pkgs.get(name, [])
  80. AttributeError: 'str' object has no attribute 'get'
  81. Changes:
  82.  
  83. Summary
  84. -------------
  85. Succeeded: 19
  86. Failed: 3
  87. -------------
  88. Total: 22
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement