Open pillarsdotnet opened 2 years ago
Removed the user
and group
attributes:
archive { $archive:
checksum_type => md5,
checksum_url => "${pwcflexera::src}/${flexfile}.md5",
cleanup => false,
extract => true,
extract_path => $target,
require => File[$target],
source => "${pwcflexera::src}/${flexfile}" ,
}
But the error persists:
Could not set 'present' on ensure: uninitialized constant PuppetX::Bodeco::PUPPET
Did you mean? Puppet
PuppetX (file: /etc/puppetlabs/code/environments/stage/modules/pwcflexera/manifests/windows.pp, line: 39)
Wrapped exception:
uninitialized constant PuppetX::Bodeco::PUPPET
Did you mean? Puppet
PuppetX
Perhaps it is failing because even though the source
attribute supports puppet:///
urls, the checksum_url
attribute does not.
I'm going to try downloading the md5 checksum file as a separate step, then using a file:///
url for the checksum_url
attribute.
Yup; that's the problem.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
Successful download and extraction.
Output log
Any additional information you'd like to impart