X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fconf.pp;h=28502052814b73a238d7fc6704a05ae70811cd47;hb=4fa28203b9ca3f12395d0d81df5a690063fc2b47;hp=40f9c40307e41c26053bfae3053d2c91e629ed61;hpb=3e407d70e09d1271958b82fe27a4e3a26915f707;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/conf.pp b/manifests/conf.pp index 40f9c40..2850205 100644 --- a/manifests/conf.pp +++ b/manifests/conf.pp @@ -1,14 +1,11 @@ define apt::conf ( $content, $ensure = present, - $priority = '50' + $priority = '50', ) { - - file { "${$apt::conf_d}/${priority}${name}": - ensure => $ensure, - content => template('apt/_header.erb', 'apt/conf.erb'), - owner => root, - group => root, - mode => '0644', + apt::setting { "conf-${name}": + ensure => $ensure, + priority => $priority, + content => template('apt/_header.erb', 'apt/conf.erb'), } }