Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Using version salt 0.17.1 I'm having trouble getting a file from an http source here
- /var/lib/jenkins/plugins/active-directory.hpi:
- file.managed:
- - source: http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/active-directory/1.31/active-directory-1.31.hpi
- - source_hash: md5=http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/active-directory/1.31/active-directory-1.31.hpi.md5
- - user: jenkins
- - group: jenkins
- The error I get is:
- State: - file
- Name: /var/lib/jenkins/plugins/active-directory.hpi
- Function: managed
- Result: False
- 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.\
- 31.hpi.md5 does not match real sum of 45feb723d08d45efd6f9a3ae0efb6a06
- Changes: diff: New file
- if I enter the md5 hash for the source_hash directly like so
- - source_hash: md5=45feb723d08d45efd6f9a3ae0efb6a06
- and it works. Any ideas why this doesn't work?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement