[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Jacob Helwig jacob at puppetlabs.com
Tue May 10 08:15:02 UTC 2011


The following commit has been merged in the experimental branch:
commit 5528911bd6fd784ed9550ed475f240a64c7a56fb
Author: Jacob Helwig <jacob at puppetlabs.com>
Date:   Thu Apr 14 15:53:51 2011 -0700

    (#7111) Clarify scoping deprecation warning
    
    This modifies the deprecation warning to explicitly point out that the
    specified behavior is deprecated, when it is slated to be removed,
    along with what the user can do to prepare for its removal.
    
    Paired-with: Randall Hansen <randall at puppetlabs.com>

diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb
index 8de9d60..99f1c6e 100644
--- a/lib/puppet/parser/scope.rb
+++ b/lib/puppet/parser/scope.rb
@@ -238,7 +238,7 @@ class Puppet::Parser::Scope
       # We can't use "if table[name]" here because the value might be false
       if options[:dynamic] and self != compiler.topscope
         location = (options[:file] && options[:line]) ? " at #{options[:file]}:#{options[:line]}" : ''
-        Puppet.deprecation_warning "Dynamic lookup of $#{name}#{location} will not be supported in future versions. Use a fully-qualified variable name or parameterized classes."
+        Puppet.deprecation_warning "Dynamic lookup of $#{name}#{location} is deprecated.  Support will be removed in Puppet 2.8.  Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes."
       end
       table[name]
     elsif parent

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list