aboutsummaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/debian_release.rb
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2015-05-06 10:41:47 -0400
committerMicah Anderson <micah@riseup.net>2015-05-06 10:41:47 -0400
commit74db9ebf282b7ef4488ae8e6b82652d1a2e7eac1 (patch)
tree74ee599e579ec638276c04e6bf5751f2c3388abe /lib/puppet/parser/functions/debian_release.rb
parent5a9e3a456e8c9023222abb3ab08ae80323a1470a (diff)
downloadpuppet-apt-74db9ebf282b7ef4488ae8e6b82652d1a2e7eac1.tar.gz
puppet-apt-74db9ebf282b7ef4488ae8e6b82652d1a2e7eac1.tar.bz2
jessie has been released!
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'