[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

James Turnbull james at lovedthanlost.net
Fri Jan 23 14:21:48 UTC 2009


The following commit has been merged in the master branch:
commit 65a60748526d66fb9c7f6fb7df6f011ad5c9a3a1
Author: James Turnbull <james at lovedthanlost.net>
Date:   Mon Dec 1 12:58:04 2008 +1100

     Fixed #1695 - Solaris 10 zone provider doesn't properly handle unknown zone attributes in newer releases

diff --git a/CHANGELOG b/CHANGELOG
index ec6c37d..d75b5bf 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
 0.24.x
+    Fixed #1695 - Solaris 10 zone provider doesn't properly handle unknown zone attributes in newer releases
+
     Fixed #1776 - Trivial fix for gentoo service provider
 
     Added Rake :ci namespace and CI tasks
diff --git a/lib/puppet/provider/zone/solaris.rb b/lib/puppet/provider/zone/solaris.rb
index be2dd97..24bbb99 100644
--- a/lib/puppet/provider/zone/solaris.rb
+++ b/lib/puppet/provider/zone/solaris.rb
@@ -12,6 +12,7 @@ Puppet::Type.type(:zone).provide(:solaris) do
 
         properties = {}
         line.split(":").each_with_index { |value, index|
+            next unless fields[index]
             properties[fields[index]] = value
         }
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list