summaryrefslogtreecommitdiffstats
path: root/lib/puppet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet.rb')
-rw-r--r--lib/puppet.rb2
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