From e876cd25b56b208b3a3b1bc1ce317338213cf45f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Charaoui?= Date: Wed, 29 Jun 2016 20:06:20 +0200 Subject: [PATCH] Remove redundant symlinks for the Debian listchanges template, fixes #2 --- manifests/listchanges.pp | 2 +- templates/Debian/{listchanges_lenny.erb => listchanges.erb} | 0 templates/Debian/listchanges_jessie.erb | 1 - templates/Debian/listchanges_sid.erb | 1 - templates/Debian/listchanges_squeeze.erb | 1 - templates/Debian/listchanges_wheezy.erb | 1 - 6 files changed, 1 insertion(+), 5 deletions(-) rename templates/Debian/{listchanges_lenny.erb => listchanges.erb} (100%) delete mode 120000 templates/Debian/listchanges_jessie.erb delete mode 120000 templates/Debian/listchanges_sid.erb delete mode 120000 templates/Debian/listchanges_squeeze.erb delete mode 120000 templates/Debian/listchanges_wheezy.erb diff --git a/manifests/listchanges.pp b/manifests/listchanges.pp index e64bb1b..ecbbe6d 100644 --- a/manifests/listchanges.pp +++ b/manifests/listchanges.pp @@ -1,6 +1,6 @@ class apt::listchanges( $ensure_version = 'installed', - $config = "apt/${::operatingsystem}/listchanges_${::debian_codename}.erb", + $config = "apt/${::operatingsystem}/listchanges.erb", $frontend = 'mail', $email = 'root', $confirm = '0', diff --git a/templates/Debian/listchanges_lenny.erb b/templates/Debian/listchanges.erb similarity index 100% rename from templates/Debian/listchanges_lenny.erb rename to templates/Debian/listchanges.erb diff --git a/templates/Debian/listchanges_jessie.erb b/templates/Debian/listchanges_jessie.erb deleted file mode 120000 index 74ab496..0000000 --- a/templates/Debian/listchanges_jessie.erb +++ /dev/null @@ -1 +0,0 @@ -listchanges_lenny.erb \ No newline at end of file diff --git a/templates/Debian/listchanges_sid.erb b/templates/Debian/listchanges_sid.erb deleted file mode 120000 index 74ab496..0000000 --- a/templates/Debian/listchanges_sid.erb +++ /dev/null @@ -1 +0,0 @@ -listchanges_lenny.erb \ No newline at end of file diff --git a/templates/Debian/listchanges_squeeze.erb b/templates/Debian/listchanges_squeeze.erb deleted file mode 120000 index 74ab496..0000000 --- a/templates/Debian/listchanges_squeeze.erb +++ /dev/null @@ -1 +0,0 @@ -listchanges_lenny.erb \ No newline at end of file diff --git a/templates/Debian/listchanges_wheezy.erb b/templates/Debian/listchanges_wheezy.erb deleted file mode 120000 index 74ab496..0000000 --- a/templates/Debian/listchanges_wheezy.erb +++ /dev/null @@ -1 +0,0 @@ -listchanges_lenny.erb \ No newline at end of file