]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
jessie has been released!
authorMicah Anderson <micah@riseup.net>
Wed, 6 May 2015 14:41:47 +0000 (10:41 -0400)
committerMicah Anderson <micah@riseup.net>
Wed, 6 May 2015 14:41:47 +0000 (10:41 -0400)
lib/puppet/parser/functions/debian_nextcodename.rb
lib/puppet/parser/functions/debian_release.rb
lib/puppet/parser/functions/debian_release_version.rb

index f3190efb6a51b8a26973f6cd75c39d9700f66a92..ee5961283f8c0e9537795f86aa323a959eda472e 100644 (file)
@@ -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
index d7b6718e3d5146bae83ff480b85014c75fc6080e..3f24ad0d4d80c5cd2274245a4c52ad8cb4c682d0 100644 (file)
@@ -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'
index 0a57fd3fcabab3ae5d27744aaad3b12c83a85d12..32cafcb4ce5a077537b8c77674eb7d6f5f930b46 100644 (file)
@@ -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