summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/manifests/preferences
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-05-13 13:38:28 +0200
committervarac <varacanero@zeromail.org>2015-05-14 20:07:16 +0200
commit984684f56f15d9d89ea78ffe6ed67dabf3d63208 (patch)
tree7b7ecf0894eba8269cdb34a22de6df811b6a91cf /puppet/modules/site_apt/manifests/preferences
parentf1d79637b82dca569b22fdd9cf6aa1be70042c1a (diff)
remove old leap_mx logfile location from check_mk logwatch state file #6964
Change-Id: I385c639e5c096deef4f81691a85c1b83cbab9421
Diffstat (limited to 'puppet/modules/site_apt/manifests/preferences')
-rw-r--r--puppet/modules/site_apt/manifests/preferences/augeas.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/manifests/preferences/augeas.pp b/puppet/modules/site_apt/manifests/preferences/augeas.pp
new file mode 100644
index 00000000..257d64c4
--- /dev/null
+++ b/puppet/modules/site_apt/manifests/preferences/augeas.pp
@@ -0,0 +1,15 @@
+# install augeas packages from backports
+class site_apt::preferences::augeas {
+
+ # i could not get
+ # site_config::remove_files::augeas::['rm_old_leap_mx_log_destination']
+ # to remove a line matching a regex with the wheezy version of augeas-lenses
+ # (0.10.0-1). Therefore we install it from backports
+
+ apt::preferences_snippet { 'augeas':
+ package => 'augeas-lenses augeas-tools libaugeas0',
+ release => "${::lsbdistcodename}-backports",
+ priority => 999;
+ }
+
+}