11 lines
263 B
Ruby
11 lines
263 B
Ruby
|
module Puppet::Parser::Functions
|
||
|
newfunction(:debian_nextrelease, :type => :rvalue) do |args|
|
||
|
case #{args[0]} {
|
||
|
oldstable: { 'stable' }
|
||
|
stable: { 'testing' }
|
||
|
testing: { 'unstable' }
|
||
|
unstable: { 'experimental' }
|
||
|
}
|
||
|
end
|
||
|
end
|