Merge pull request #540 from szynaka/apt_conf_comments
[puppet-modules/puppetlabs-apt.git] / manifests / setting.pp
index ab844602326bc166d1cc6bf934db19905cbea098..59d0dd4dfe0b0eec2891c483f51526249b84f24e 100644 (file)
@@ -6,6 +6,7 @@ define apt::setting (
   $notify_update = true,
 ) {
 
+  include 'apt::params'
   if $content and $source {
     fail('apt::setting cannot have both content and source')
   }
@@ -42,8 +43,8 @@ define apt::setting (
     $_priority = $priority
   }
 
-  $_path = $::apt::config_files[$setting_type]['path']
-  $_ext  = $::apt::config_files[$setting_type]['ext']
+  $_path = $::apt::params::config_files[$setting_type]['path']
+  $_ext  = $::apt::params::config_files[$setting_type]['ext']
 
   if $notify_update {
     $_notify = Exec['apt_update']