module-puppetlabs-apt/manifests/conf.pp
2015-02-15 10:25:36 -08:00

16 lines
320 B
Puppet

define apt::conf (
$content,
$ensure = present,
$priority = '50'
) {
$apt_conf_d = $apt::params::apt_conf_d
file { "${apt_conf_d}/${priority}${name}":
ensure => $ensure,
content => template('apt/_header.erb', 'apt/conf.erb'),
owner => root,
group => root,
mode => '0644',
}
}