aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2013-12-08 21:58:20 +0000
committerintrigeri <intrigeri@boum.org>2013-12-08 21:58:20 +0000
commitf8aa2ef8722592b61fcbc10959c571ff19dee573 (patch)
tree628421c1bd38f97c83a0fd183419d73c922c2dba /lib
parentc99227ad55e8d266a77ad5dfb672147eec6e1c3b (diff)
downloadpuppet-apt-f8aa2ef8722592b61fcbc10959c571ff19dee573.tar.gz
puppet-apt-f8aa2ef8722592b61fcbc10959c571ff19dee573.tar.bz2
Drop Debian Etch and Lenny compatibility.
Both have been unsupported for ages.
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/parser/functions/debian_nextcodename.rb2
-rw-r--r--lib/puppet/parser/functions/debian_release_version.rb2
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/puppet/parser/functions/debian_nextcodename.rb b/lib/puppet/parser/functions/debian_nextcodename.rb
index 3d5c3bd..f3190ef 100644
--- a/lib/puppet/parser/functions/debian_nextcodename.rb
+++ b/lib/puppet/parser/functions/debian_nextcodename.rb
@@ -1,8 +1,6 @@
module Puppet::Parser::Functions
newfunction(:debian_nextcodename, :type => :rvalue) do |args|
case args[0]
- when "etch" then "lenny"
- when "lenny" then "squeeze"
when "squeeze" then "wheezy"
when "wheezy" then "jessie"
when "jessie" then "sid"
diff --git a/lib/puppet/parser/functions/debian_release_version.rb b/lib/puppet/parser/functions/debian_release_version.rb
index 0abe90e..0a57fd3 100644
--- a/lib/puppet/parser/functions/debian_release_version.rb
+++ b/lib/puppet/parser/functions/debian_release_version.rb
@@ -1,8 +1,6 @@
module Puppet::Parser::Functions
newfunction(:debian_release_version, :type => :rvalue) do |args|
case args[0]
- when 'etch' then '4.0'
- when 'lenny' then '5.0'
when 'squeeze' then '6.0'
when 'wheezy' then '7.0'
else ''