Added additional header template for apt.conf style comments
This commit is contained in:
parent
5dafbd514d
commit
ec1c50a4ad
3 changed files with 4 additions and 3 deletions
|
@ -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'),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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':
|
||||
|
|
1
templates/_conf_header.erb
Normal file
1
templates/_conf_header.erb
Normal file
|
@ -0,0 +1 @@
|
|||
// This file is managed by Puppet. DO NOT EDIT.
|
Loading…
Reference in a new issue