aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorGabriel Filion <lelutin@gmail.com>2012-09-20 04:00:38 -0400
committerGabriel Filion <lelutin@gmail.com>2012-09-20 04:00:38 -0400
commit9d7b48e37cfcf6815ab247b67dd52fdd7c29691e (patch)
treef7a13ff39dfb2a3b6c36364171ea433b9941dee9 /manifests
parent2dee53c328f606cfc00ccd79e32f03ae2563c765 (diff)
downloadpuppet-apt-9d7b48e37cfcf6815ab247b67dd52fdd7c29691e.tar.gz
puppet-apt-9d7b48e37cfcf6815ab247b67dd52fdd7c29691e.tar.bz2
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 <lelutin@gmail.com>
Diffstat (limited to 'manifests')
-rw-r--r--manifests/preferences/absent.pp1
1 files changed, 1 insertions, 0 deletions
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,
}
}