blob: 37322a2833e98cc35496dfce239615152f04591b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
module Puppet::Parser::Functions
newfunction(:debian_nextcodename, :type => :rvalue) do |args|
result = case #{args[0]}
when 'etch' then 'lenny'
when 'lenny' then 'squeeze'
when 'squeeze' then 'sid'
when 'sid' then 'experimental'
end
return result
end
end
|