diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-29 00:07:05 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-29 00:07:05 +0000 |
| commit | 1cc8ecb0640420d6eb7a66fcb0d282337a263b84 (patch) | |
| tree | 2c7368ea0f54dcc8af97dc5fc13e610ee42e23b7 /lib/puppet | |
| parent | dd502db3a976ef6b5091d9cb514427a5de21ff8f (diff) | |
| download | puppet-1cc8ecb0640420d6eb7a66fcb0d282337a263b84.tar.gz puppet-1cc8ecb0640420d6eb7a66fcb0d282337a263b84.tar.xz puppet-1cc8ecb0640420d6eb7a66fcb0d282337a263b84.zip | |
Fixing info around newtype options
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2108 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet')
| -rw-r--r-- | lib/puppet/metatype/manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/metatype/manager.rb b/lib/puppet/metatype/manager.rb index ee396389b..172d3f6d4 100644 --- a/lib/puppet/metatype/manager.rb +++ b/lib/puppet/metatype/manager.rb @@ -57,7 +57,7 @@ module Manager def newtype(name, options = {}, &block) # Handle backward compatibility unless options.is_a?(Hash) - Puppet.warning "Puppet::Type.newtype now accepts a hash as the second argument" + Puppet.warning "Puppet::Type.newtype(%s) now expects a hash as the second argument, not %s" % [name, options.inspect] options = {:parent => options} end |
