summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/debian_release.rb
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2015-05-06 13:01:48 -0400
committerMicah Anderson <micah@riseup.net>2015-05-06 13:01:48 -0400
commite8580d1da21d6f1024376d8bfa4858fe52acda6f (patch)
tree71811203ed0deace3f91d77f2ccb5b798c5bdab6 /lib/puppet/parser/functions/debian_release.rb
parent143e771c1f3a896aa2469c4da33db53d653a8766 (diff)
parent74db9ebf282b7ef4488ae8e6b82652d1a2e7eac1 (diff)
Merge branch 'master' into leap
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'