X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fconf.pp;h=318422e29323933eb2b8f3d315037e421d4d1a4c;hb=396e11af3a0ee7d0b5820a136bdb17f2ea4bf41b;hp=fa7f97d435f6001c3bea06cf2f50e921f2a3f4fa;hpb=0ac5939f9b8225af4780bd5836a7939ec121e303;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/conf.pp b/manifests/conf.pp index fa7f97d..318422e 100644 --- a/manifests/conf.pp +++ b/manifests/conf.pp @@ -1,6 +1,7 @@ define apt::conf ( - $priority = '50', - $content + $content, + $ensure = present, + $priority = '50' ) { include apt::params @@ -8,8 +9,8 @@ define apt::conf ( $apt_conf_d = $apt::params::apt_conf_d file { "${apt_conf_d}/${priority}${name}": - ensure => file, - content => $content, + ensure => $ensure, + content => template('apt/_header.erb', 'apt/conf.erb'), owner => root, group => root, mode => '0644',