11 lines
250 B
Ruby
11 lines
250 B
Ruby
|
module Puppet::Parser::Functions
|
||
|
newfunction(:debian_nextcodename, :type => :rvalue) do |args|
|
||
|
case #{args[0]} {
|
||
|
etch: { 'lenny' }
|
||
|
lenny: { 'squeeze' }
|
||
|
squeeze: { 'sid' }
|
||
|
sid: { 'experimental' }
|
||
|
}
|
||
|
end
|
||
|
end
|