Jeff, thank for your reply.
Really puppet downloads the file only once, this is not in fact a problem.
I re-made the previous code to simplify it:
class 7Zip() {
include software_dir
file { 'C:\\SOFTWARE\\7z920.msi':
source => 'puppet://puppet.upc.edu/modules/windows/7z920.msi',
}
package { '7-zip 9.20':
ensure => installed,
provider => 'msi',
source => 'C:\\SOFTWARE\\7z920.msi',
}
}
I can see that if the msi has been installed (by puppet), puppet will not
try to install again, this is correct. But always, if it has been installed
or not, the file C:\\SOFTWARE\\7z920.msi is downloaded.
A band of having a software repository mounted as a mapped drive... Is
possible to avoid that the msi file to being downloaded if it is not going
to be installed?
Thanks again.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/4y1VTSJ2QFsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.