Add functionality to support apt pinning to more than just the release.
[puppet-modules/puppetlabs-apt.git] / manifests / conf.pp
index c1af710fd4b2a3b45f92f830a7eafeab27464935..03aab8e00270fb40ca699d1e4e286a8dd949bb71 100644 (file)
@@ -1,14 +1,15 @@
 define apt::conf (
+  $ensure   = present,
   $priority = '50',
   $content
-  ) {
+) {
 
   include apt::params
 
   $apt_conf_d = $apt::params::apt_conf_d
 
   file { "${apt_conf_d}/${priority}${name}":
-    ensure  => file,
+    ensure  => $ensure,
     content => $content,
     owner   => root,
     group   => root,