File tree Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 27
27
}
28
28
29
29
file { $local_package_file_path:
30
- ensure => file ,
31
- owner => $puppet_agent::params::user ,
32
- group => $puppet_agent::params::group ,
33
- mode => $mode ,
34
- source => $source ,
35
- require => File [$puppet_agent::params::local_packages_dir ],
36
- checksum => sha256lite,
30
+ ensure => file ,
31
+ owner => $puppet_agent::params::user ,
32
+ group => $puppet_agent::params::group ,
33
+ mode => $mode ,
34
+ source => $source ,
35
+ require => File [$puppet_agent::params::local_packages_dir ],
37
36
}
38
37
}
Original file line number Diff line number Diff line change 292
292
293
293
it {
294
294
is_expected . to contain_file ( '/opt/puppetlabs/packages/puppet-agent-6.12.0.rpm' )
295
- . with ( 'path' => '/opt/puppetlabs/packages/puppet-agent-6.12.0.rpm' )
296
- . with ( 'ensure' => 'file' )
297
- . with ( 'owner' => '0' )
298
- . with ( 'group' => '0' )
299
- . with ( 'mode' => '0644' )
300
- . with ( 'source' => 'http://just-some-download/url:90/puppet-agent-6.12.0.rpm' )
295
+ . with ( 'path' => '/opt/puppetlabs/packages/puppet-agent-6.12.0.rpm' )
296
+ . with ( 'ensure' => 'file' )
297
+ . with ( 'owner' => '0' )
298
+ . with ( 'group' => '0' )
299
+ . with ( 'mode' => '0644' )
300
+ . with ( 'source' => 'http://just-some-download/url:90/puppet-agent-6.12.0.rpm' )
301
301
. that_requires ( 'File[/opt/puppetlabs/packages]' )
302
- . with ( 'checksum' => 'sha256lite' )
303
302
}
304
303
305
304
it {
You can’t perform that action at this time.
0 commit comments