From: Gabriel Filion Date: Thu, 20 Sep 2012 08:00:38 +0000 (-0400) Subject: Define an alias when enforcing absence of /etc/apt/preferences X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9d7b48e37cfcf6815ab247b67dd52fdd7c29691e;p=puppet-apt.git Define an alias when enforcing absence of /etc/apt/preferences 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 --- diff --git a/manifests/preferences/absent.pp b/manifests/preferences/absent.pp index 0e96119..68ab400 100644 --- a/manifests/preferences/absent.pp +++ b/manifests/preferences/absent.pp @@ -1,6 +1,7 @@ class apt::preferences::absent { file { '/etc/apt/preferences': + alias => 'apt_config', ensure => absent, } }