jessie has been released!

This commit is contained in:
Micah Anderson 2015-05-06 10:41:47 -04:00
parent 5a9e3a456e
commit 74db9ebf28
3 changed files with 9 additions and 4 deletions

View file

@ -3,7 +3,8 @@ module Puppet::Parser::Functions
case args[0] case args[0]
when "squeeze" then "wheezy" when "squeeze" then "wheezy"
when "wheezy" then "jessie" when "wheezy" then "jessie"
when "jessie" then "sid" when "jessie" then "stretch"
when "stretch" then "sid"
when "sid" then "experimental" when "sid" then "experimental"
else "sid" else "sid"
end end

View file

@ -1,9 +1,10 @@
module Puppet::Parser::Functions module Puppet::Parser::Functions
newfunction(:debian_release, :type => :rvalue) do |args| newfunction(:debian_release, :type => :rvalue) do |args|
case args[0] case args[0]
when 'squeeze' then 'oldstable' when 'squeeze' then 'oldoldstable'
when 'wheezy' then 'stable' when 'wheezy' then 'oldstable'
when 'jessie' then 'testing' when 'jessie' then 'stable'
when 'stretch' then 'testing'
when 'sid' then 'unstable' when 'sid' then 'unstable'
when 'experimental' then 'experimental' when 'experimental' then 'experimental'
else 'testing' else 'testing'

View file

@ -3,6 +3,9 @@ module Puppet::Parser::Functions
case args[0] case args[0]
when 'squeeze' then '6.0' when 'squeeze' then '6.0'
when 'wheezy' then '7.0' when 'wheezy' then '7.0'
when 'jessie' then '8.0'
when 'stretch' then '9.0'
when 'buster' then '10.0'
else '' else ''
end end
end end