Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
318422e29323933eb2b8f3d315037e421d4d1a4c
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
conf.pp
1
define apt::conf (
2
$content,
3
$ensure = present,
4
$priority = '50'
5
) {
6
7
include apt::params
8
9
$apt_conf_d = $apt::params::apt_conf_d
10
11
file { "${apt_conf_d}/${priority}${name}":
12
ensure => $ensure,
13
content => template('apt/_header.erb', 'apt/conf.erb'),
14
owner => root,
15
group => root,
16
mode => '0644',
17
}
18
}