diff options
| author | Luke Kanies <luke@madstop.com> | 2008-12-17 18:10:30 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-12-18 11:10:25 -0600 |
| commit | b6db54585177f277b1e06bebd4d925d5c272b610 (patch) | |
| tree | ad09cf88c2bd2293bee9a33d88df21734e57b8c3 /lib/puppet.rb | |
| parent | 89c25ad0661fbc1d57830f4648a3b108f4347278 (diff) | |
| download | puppet-b6db54585177f277b1e06bebd4d925d5c272b610.tar.gz puppet-b6db54585177f277b1e06bebd4d925d5c272b610.tar.xz puppet-b6db54585177f277b1e06bebd4d925d5c272b610.zip | |
Deprecating 'Puppet.type'; replacing all instances with Puppet::Type.type
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet.rb')
| -rw-r--r-- | lib/puppet.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet.rb b/lib/puppet.rb index ff714e441..dad8936d2 100644 --- a/lib/puppet.rb +++ b/lib/puppet.rb @@ -366,6 +366,8 @@ module Puppet # Retrieve a type by name. Just proxy to the Type class. def self.type(name) + # LAK:DEP Deprecation notice added 12/17/2008 + Puppet.warning "Puppet.type is deprecated; use Puppet::Type.type" Puppet::Type.type(name) end end |
