From c38be6cb7c2cbd53a133291b2750d053877ebe4f Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 3 May 2013 17:09:34 +0200 Subject: Wheezy was released! --- lib/puppet/parser/functions/debian_nextcodename.rb | 3 ++- lib/puppet/parser/functions/debian_release.rb | 6 +++--- lib/puppet/parser/functions/debian_release_version.rb | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/puppet/parser/functions/debian_nextcodename.rb b/lib/puppet/parser/functions/debian_nextcodename.rb index f57dd2a..3d5c3bd 100644 --- a/lib/puppet/parser/functions/debian_nextcodename.rb +++ b/lib/puppet/parser/functions/debian_nextcodename.rb @@ -4,7 +4,8 @@ module Puppet::Parser::Functions when "etch" then "lenny" when "lenny" then "squeeze" when "squeeze" then "wheezy" - when "wheezy" then "sid" + when "wheezy" then "jessie" + when "jessie" then "sid" when "sid" then "experimental" else "sid" end diff --git a/lib/puppet/parser/functions/debian_release.rb b/lib/puppet/parser/functions/debian_release.rb index 857edf3..d7b6718 100644 --- a/lib/puppet/parser/functions/debian_release.rb +++ b/lib/puppet/parser/functions/debian_release.rb @@ -1,9 +1,9 @@ module Puppet::Parser::Functions newfunction(:debian_release, :type => :rvalue) do |args| case args[0] - when 'lenny' then 'oldstable' - when 'squeeze' then 'stable' - when 'wheezy' then 'testing' + when 'squeeze' then 'oldstable' + when 'wheezy' then 'stable' + when 'jessie' then 'testing' when 'sid' then 'unstable' when 'experimental' then 'experimental' else 'testing' diff --git a/lib/puppet/parser/functions/debian_release_version.rb b/lib/puppet/parser/functions/debian_release_version.rb index ff58f72..0abe90e 100644 --- a/lib/puppet/parser/functions/debian_release_version.rb +++ b/lib/puppet/parser/functions/debian_release_version.rb @@ -4,6 +4,7 @@ module Puppet::Parser::Functions when 'etch' then '4.0' when 'lenny' then '5.0' when 'squeeze' then '6.0' + when 'wheezy' then '7.0' else '' end end -- cgit v1.2.3