644ed232a0
This patch adds the appropriate spec tests to validate the changes
introduced by e5f2dfe
. As a bonus it includes fixes to the manifests
that were discovered while writing the tests.
17 lines
284 B
Puppet
17 lines
284 B
Puppet
define apt::conf (
|
|
$priority = '50',
|
|
$content
|
|
) {
|
|
|
|
include apt::params
|
|
|
|
$apt_conf_d = $apt::params::apt_conf_d
|
|
|
|
file { "${apt_conf_d}/${priority}${name}":
|
|
ensure => file,
|
|
content => $content,
|
|
owner => root,
|
|
group => root,
|
|
mode => '0644',
|
|
}
|
|
}
|