summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/release.rb
blob: ef304843fb81b69bd948646ec4fc0a62dc1dbeeb (plain)
1
2
3
4
5
6
7
8
9
10
11
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