f8aa2ef872
Both have been unsupported for ages.
11 lines
292 B
Ruby
11 lines
292 B
Ruby
module Puppet::Parser::Functions
|
|
newfunction(:debian_nextcodename, :type => :rvalue) do |args|
|
|
case args[0]
|
|
when "squeeze" then "wheezy"
|
|
when "wheezy" then "jessie"
|
|
when "jessie" then "sid"
|
|
when "sid" then "experimental"
|
|
else "sid"
|
|
end
|
|
end
|
|
end
|