blob: f57dd2a10a1e3d3183443c262519e8d4bfc4ad71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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 "sid"
when "sid" then "experimental"
else "sid"
end
end
end
|