aboutsummaryrefslogtreecommitdiff
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
parent5a9e3a456e8c9023222abb3ab08ae80323a1470a (diff)
downloadpuppet-apt-74db9ebf282b7ef4488ae8e6b82652d1a2e7eac1.tar.gz
puppet-apt-74db9ebf282b7ef4488ae8e6b82652d1a2e7eac1.tar.bz2
jessie has been released!
-rw-r--r--lib/puppet/parser/functions/debian_nextcodename.rb3
-rw-r--r--lib/puppet/parser/functions/debian_release.rb7
-rw-r--r--lib/puppet/parser/functions/debian_release_version.rb3
3 files changed, 9 insertions, 4 deletions
diff --git a/lib/puppet/parser/functions/debian_nextcodename.rb b/lib/puppet/parser/functions/debian_nextcodename.rb
index f3190ef..ee59612 100644
--- a/lib/puppet/parser/functions/debian_nextcodename.rb
+++ b/lib/puppet/parser/functions/debian_nextcodename.rb
@@ -3,7 +3,8 @@ module Puppet::Parser::Functions
case args[0]
when "squeeze" then "wheezy"
when "wheezy" then "jessie"
- when "jessie" then "sid"
+ when "jessie" then "stretch"
+ when "stretch" then "sid"
when "sid" then "experimental"
else "sid"
end
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'
diff --git a/lib/puppet/parser/functions/debian_release_version.rb b/lib/puppet/parser/functions/debian_release_version.rb
index 0a57fd3..32cafcb 100644
--- a/lib/puppet/parser/functions/debian_release_version.rb
+++ b/lib/puppet/parser/functions/debian_release_version.rb
@@ -3,6 +3,9 @@ module Puppet::Parser::Functions
case args[0]
when 'squeeze' then '6.0'
when 'wheezy' then '7.0'
+ when 'jessie' then '8.0'
+ when 'stretch' then '9.0'
+ when 'buster' then '10.0'
else ''
end
end