aboutsummaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/debian_release_version.rb
blob: 0a57fd3fcabab3ae5d27744aaad3b12c83a85d12 (plain)
1
2
3
4
5
6
7
8
9
module Puppet::Parser::Functions
  newfunction(:debian_release_version, :type => :rvalue) do |args|
    case args[0]
      when 'squeeze'      then '6.0'
      when 'wheezy'       then '7.0'
      else ''
    end
  end
end