summaryrefslogtreecommitdiff
path: root/manifests/preferences
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-21 01:59:41 +0200
committermh <mh@immerda.ch>2010-10-21 01:59:41 +0200
commite2ac1b3d8d1713c81c83a695b776dec1c00d2d47 (patch)
tree5ff6553207f4b118562a3be76fc4f7d08638db04 /manifests/preferences
parente19c94dcd20c966143c933e22d5a63f350649b6e (diff)
parent4dbcd092817708292de6463777b331c8dbc7e727 (diff)
Merge remote branch 'lelutin/master'
Integrate no custom preference into our new way to manage the preferences. Conflicts: README manifests/default_preferences.pp manifests/init.pp
Diffstat (limited to 'manifests/preferences')
-rw-r--r--manifests/preferences/absent.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/preferences/absent.pp b/manifests/preferences/absent.pp
new file mode 100644
index 0000000..3131aff
--- /dev/null
+++ b/manifests/preferences/absent.pp
@@ -0,0 +1,8 @@
+class apt::preferences::absent {
+ include common::moduledir
+ $apt_preferences_dir = "${common::moduledir::module_dir_path}/apt/preferences"
+ concatenated_file{'/etc/apt/preferences':
+ dir => $apt_preferences_dir,
+ ensure => absent,
+ }
+}