]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Define an alias when enforcing absence of /etc/apt/preferences
authorGabriel Filion <lelutin@gmail.com>
Thu, 20 Sep 2012 08:00:38 +0000 (04:00 -0400)
committerGabriel Filion <lelutin@gmail.com>
Thu, 20 Sep 2012 08:00:38 +0000 (04:00 -0400)
This ensures that resources that set a dependecy on the
"File['apt_config']" file, as mentioned in the README, can always
resolve.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
manifests/preferences/absent.pp

index 0e96119a36cfd30cbb2695e7539f5ac4f377e2eb..68ab40053cd2fe3af0a3c7aa9c555087b353ee4a 100644 (file)
@@ -1,6 +1,7 @@
 class apt::preferences::absent {
 
   file { '/etc/apt/preferences':
+    alias => 'apt_config',
     ensure => absent,
   }
 }