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