module-apt/lib/puppet/parser/functions/nextrelease.rb
2010-10-06 11:16:44 +02:00

10 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