diff options
Diffstat (limited to 'lib/puppet/parser/functions/debian_nextcodename.rb')
-rw-r--r-- | lib/puppet/parser/functions/debian_nextcodename.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/puppet/parser/functions/debian_nextcodename.rb b/lib/puppet/parser/functions/debian_nextcodename.rb index 37322a2..6bc4b6b 100644 --- a/lib/puppet/parser/functions/debian_nextcodename.rb +++ b/lib/puppet/parser/functions/debian_nextcodename.rb @@ -1,11 +1,11 @@ module Puppet::Parser::Functions newfunction(:debian_nextcodename, :type => :rvalue) do |args| - result = case #{args[0]} - when 'etch' then 'lenny' - when 'lenny' then 'squeeze' - when 'squeeze' then 'sid' - when 'sid' then 'experimental' + case args[0] + when "etch" then "lenny" + when "lenny" then "squeeze" + when "squeeze" then "sid" + when "sid" then "experimental" + else "sid" end - return result end end |