diff --git a/manifests/prepare/package.pp b/manifests/prepare/package.pp index 0d649a9d..7e8e1586 100644 --- a/manifests/prepare/package.pp +++ b/manifests/prepare/package.pp @@ -27,12 +27,11 @@ } file { $local_package_file_path: - ensure => file, - owner => $puppet_agent::params::user, - group => $puppet_agent::params::group, - mode => $mode, - source => $source, - require => File[$puppet_agent::params::local_packages_dir], - checksum => sha256lite, + ensure => file, + owner => $puppet_agent::params::user, + group => $puppet_agent::params::group, + mode => $mode, + source => $source, + require => File[$puppet_agent::params::local_packages_dir], } } diff --git a/spec/classes/puppet_agent_osfamily_redhat_spec.rb b/spec/classes/puppet_agent_osfamily_redhat_spec.rb index 60a3409a..b92104bc 100644 --- a/spec/classes/puppet_agent_osfamily_redhat_spec.rb +++ b/spec/classes/puppet_agent_osfamily_redhat_spec.rb @@ -292,14 +292,13 @@ it { is_expected.to contain_file('/opt/puppetlabs/packages/puppet-agent-6.12.0.rpm') - .with('path' => '/opt/puppetlabs/packages/puppet-agent-6.12.0.rpm') - .with('ensure' => 'file') - .with('owner' => '0') - .with('group' => '0') - .with('mode' => '0644') - .with('source' => 'http://just-some-download/url:90/puppet-agent-6.12.0.rpm') + .with('path' => '/opt/puppetlabs/packages/puppet-agent-6.12.0.rpm') + .with('ensure' => 'file') + .with('owner' => '0') + .with('group' => '0') + .with('mode' => '0644') + .with('source' => 'http://just-some-download/url:90/puppet-agent-6.12.0.rpm') .that_requires('File[/opt/puppetlabs/packages]') - .with('checksum' => 'sha256lite') } it {