Added additional header template for apt.conf style comments

This commit is contained in:
Ed Szynaka 2015-06-19 02:01:48 -04:00
parent 5dafbd514d
commit ec1c50a4ad
3 changed files with 4 additions and 3 deletions

View file

@ -13,6 +13,6 @@ define apt::conf (
apt::setting { "conf-${name}":
ensure => $ensure,
priority => $priority,
content => template('apt/_header.erb', 'apt/conf.erb'),
content => template('apt/_conf_header.erb', 'apt/conf.erb'),
}
}

View file

@ -67,7 +67,7 @@ class apt(
if $proxy['host'] {
apt::setting { 'conf-proxy':
priority => '01',
content => template('apt/_header.erb', 'apt/proxy.erb'),
content => template('apt/_conf_header.erb', 'apt/proxy.erb'),
}
}
@ -89,7 +89,7 @@ class apt(
apt::setting { 'conf-update-stamp':
priority => 15,
content => template('apt/_header.erb', 'apt/15update-stamp.erb'),
content => template('apt/_conf_header.erb', 'apt/15update-stamp.erb'),
}
file { 'sources.list':

View file

@ -0,0 +1 @@
// This file is managed by Puppet. DO NOT EDIT.