module-puppetlabs-apt/manifests/conf.pp

19 lines
343 B
ObjectPascal
Raw Normal View History

define apt::conf (
2012-08-21 22:55:24 +02:00
$content,
$ensure = present,
2012-08-21 22:55:24 +02:00
$priority = '50'
) {
include apt::params
$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',
}
}