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

11 lines
307 B
Ruby

module Puppet::Parser::Functions
newfunction(:debian_release, :type => :rvalue) do |args|
case #{args[0]} {
etch: { 'oldstable' }
lenny: { 'stable' }
squeeze: { 'testing' }
sid: { 'unstable' }
experimental: { 'experimental' }
}
end
end