X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fconf.pp;h=28502052814b73a238d7fc6704a05ae70811cd47;hb=41a2725683bbaacfc827f8ebfe1fc1044d51df80;hp=08159379e7d017fa33853c4cdca1b9c9ef1e3778;hpb=92c405b19c6481fb81d2646c048c637febd7e589;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/conf.pp b/manifests/conf.pp index 0815937..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'), } }