aboutsummaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/debian_release.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions/debian_release.rb')
-rw-r--r--lib/puppet/parser/functions/debian_release.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/puppet/parser/functions/debian_release.rb b/lib/puppet/parser/functions/debian_release.rb
index d7b6718..3f24ad0 100644
--- a/lib/puppet/parser/functions/debian_release.rb
+++ b/lib/puppet/parser/functions/debian_release.rb
@@ -1,9 +1,10 @@
module Puppet::Parser::Functions
newfunction(:debian_release, :type => :rvalue) do |args|
case args[0]
- when 'squeeze' then 'oldstable'
- when 'wheezy' then 'stable'
- when 'jessie' then 'testing'
+ when 'squeeze' then 'oldoldstable'
+ when 'wheezy' then 'oldstable'
+ when 'jessie' then 'stable'
+ when 'stretch' then 'testing'
when 'sid' then 'unstable'
when 'experimental' then 'experimental'
else 'testing'