Merge pull request #540 from szynaka/apt_conf_comments

Added additional header template for apt.conf style comments
This commit is contained in:
Daniele Sluijters 2015-06-22 09:23:01 +02:00
commit a1907ff5a6
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.