module-apt/lib/puppet/parser/functions/nextrelease.rb

11 lines
263 B
Ruby
Raw Normal View History

2010-10-06 11:16:44 +02:00
module Puppet::Parser::Functions
newfunction(:debian_nextrelease, :type => :rvalue) do |args|
case #{args[0]} {
oldstable: { 'stable' }
stable: { 'testing' }
testing: { 'unstable' }
unstable: { 'experimental' }
}
end
end