10 lines
250 B
Ruby
10 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
|