Advertisement
mateoconfeugo

Untitled

Mar 27th, 2014
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.34 KB | None | 0 0
  1.  
  2. Using version salt 0.17.1 I'm having trouble getting a file from an http source here
  3.  
  4. /var/lib/jenkins/plugins/active-directory.hpi:
  5. file.managed:
  6. - source: http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/active-directory/1.31/active-directory-1.31.hpi
  7. - source_hash: md5=http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/active-directory/1.31/active-directory-1.31.hpi.md5
  8. - user: jenkins
  9. - group: jenkins
  10.  
  11. The error I get is:
  12.  
  13. State: - file
  14. Name: /var/lib/jenkins/plugins/active-directory.hpi
  15. Function: managed
  16. Result: False
  17. Comment: File sum set for file /var/lib/jenkins/plugins/active-directory.hpi of http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/active-directory/1.31/active-directory-1.\
  18. 31.hpi.md5 does not match real sum of 45feb723d08d45efd6f9a3ae0efb6a06
  19. Changes: diff: New file
  20.  
  21. if I enter the md5 hash for the source_hash directly like so
  22. - source_hash: md5=45feb723d08d45efd6f9a3ae0efb6a06
  23. and it works. Any ideas why this doesn't work?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement