Skip to content

Commit

Permalink
Merge pull request #540 from szynaka/apt_conf_comments
Browse files Browse the repository at this point in the history
Added additional header template for apt.conf style comments
  • Loading branch information
daenney committed Jun 22, 2015
2 parents 5dafbd5 + ec1c50a commit a1907ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/conf.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
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'),
}
}
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
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'),
}
}

Expand All @@ -89,7 +89,7 @@

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':
Expand Down
1 change: 1 addition & 0 deletions templates/_conf_header.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// This file is managed by Puppet. DO NOT EDIT.

0 comments on commit a1907ff

Please sign in to comment.