Merge pull request #389 from stdietrich/global_header_partial
[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 }