module Puppet::Parser::Functions newfunction(:debian_release_version, :type => :rvalue) do |args| case args[0] when 'etch' then '4.0' when 'lenny' then '5.0' when 'squeeze' then '6.0' when 'wheezy' then '7.0' else '' end end end