diff options
author | Nick Lewis <nick@puppetlabs.com> | 2011-04-12 13:05:54 -0700 |
---|---|---|
committer | Nick Lewis <nick@puppetlabs.com> | 2011-04-12 13:05:54 -0700 |
commit | f6fb193078c497476326ee80827e1585ae26603c (patch) | |
tree | 6cff85468dc51786592214df846445a4cf1fee91 /lib/puppet/parser | |
parent | d0a56522f9c574b4a6db81caf4589175c901b09e (diff) | |
download | puppet-f6fb193078c497476326ee80827e1585ae26603c.tar.gz puppet-f6fb193078c497476326ee80827e1585ae26603c.tar.xz puppet-f6fb193078c497476326ee80827e1585ae26603c.zip |
(#5027) Spell deprecation correctly
Paired-With: Jesse Wolfe
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r-- | lib/puppet/parser/scope.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb index dba94407e..8de9d60b1 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.deprication_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} will not be supported in future versions. Use a fully-qualified variable name or parameterized classes." end table[name] elsif parent |