module-puppetlabs-apt/manifests/conf.pp
Cody Herriges 644ed232a0 Tests to validate apt::{conf,backports}
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.
2012-04-20 13:43:38 -07:00

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',
}
}