-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
archive::nexus ignore changes #204
Comments
nanliu
added a commit
to nanliu/puppet-archive
that referenced
this issue
Aug 31, 2016
The camptocamp archive digest_type default of :none overwrote puppet archive checksum_type value, so even when we have a valid checksum such as md5, the digest_type overwrote to :none. This results in files with invalid checksums not being replaced. This PR addresses this bug.
nanliu
added a commit
to nanliu/puppet-archive
that referenced
this issue
Aug 31, 2016
The camptocamp archive digest_type default of :none overwrote puppet archive checksum_type value, so even when we have a valid checksum such as md5, the digest_type overwrote to :none. This results in files with invalid checksums not being replaced. This PR addresses this bug.
nanliu
added a commit
to nanliu/puppet-archive
that referenced
this issue
Aug 31, 2016
The camptocamp archive digest_type default of :none overwrote puppet archive checksum_type value, so even when we have a valid checksum such as md5, the digest_type overwrote to :none. This results in files with invalid checksums not being replaced. This PR addresses this bug.
alexjfisher
added a commit
that referenced
this issue
Aug 31, 2016
Fix GH-204 resolve camptocamp archive regression
randradas
pushed a commit
to randradas/puppet-archive
that referenced
this issue
Oct 30, 2016
The camptocamp archive digest_type default of :none overwrote puppet archive checksum_type value, so even when we have a valid checksum such as md5, the digest_type overwrote to :none. This results in files with invalid checksums not being replaced. This PR addresses this bug.
cegeka-jenkins
pushed a commit
to cegeka/puppet-archive
that referenced
this issue
Mar 26, 2021
The camptocamp archive digest_type default of :none overwrote puppet archive checksum_type value, so even when we have a valid checksum such as md5, the digest_type overwrote to :none. This results in files with invalid checksums not being replaced. This PR addresses this bug.
cegeka-jenkins
pushed a commit
to cegeka/puppet-archive
that referenced
this issue
Mar 26, 2021
Fix voxpupuliGH-204 resolve camptocamp archive regression
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Run the example code in nexus::archive
archive::nexus { '/tmp/jtstand-ui-0.98.jar':
url => 'https://oss.sonatype.org',
gav => 'org.codehaus.jtstand:jtstand-ui:0.98',
repository => 'codehaus-releases',
packaging => 'jar',
extract => false,
}
ls -al /tmp/jtstand-ui-0.98.jar
-rw-r----- 1 root root 286643 Aug 29 12:02 /tmp/jtstand-ui-0.98.jar
change the file size to zero by doing
sudo rm /tmp/jtstand-ui-0.98.jar && sudo touch /tmp/jtstand-ui-0.98.jar
run puppet again
What are you seeing
ls -al /tmp/jtstand-ui-0.98.jar
-rw-r--r-- 1 root root 0 Aug 29 12:04 /tmp/jtstand-ui-0.98.jar
What behaviour did you expect instead
I would expect the archive module to replace the file.
Output log
NA
Any additional information you'd like to impart
It works in version 0.5.1
This problem also affects SNAPSHOT dependencies that are not replaced when new archives exsists in the repository
The text was updated successfully, but these errors were encountered: