diff options
author | Luke Kanies <luke@madstop.com> | 2005-07-12 15:05:11 +0000 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2005-07-12 15:05:11 +0000 |
commit | e97e2d9f7b26aa55b608342bd47efc7fd8ed09f9 (patch) | |
tree | 2856b47f22ff721133a21c87e926ff8ed8f29419 /lib | |
parent | a984d6604cf2463183fc1f3eac0cb94fbd545f59 (diff) | |
download | puppet-e97e2d9f7b26aa55b608342bd47efc7fd8ed09f9.tar.gz puppet-e97e2d9f7b26aa55b608342bd47efc7fd8ed09f9.tar.xz puppet-e97e2d9f7b26aa55b608342bd47efc7fd8ed09f9.zip |
fully qualifying warning method, because it is not being imported for some reason
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@381 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/type/package.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/type/package.rb b/lib/puppet/type/package.rb index 5b47ddaf0..43108ecb4 100644 --- a/lib/puppet/type/package.rb +++ b/lib/puppet/type/package.rb @@ -110,7 +110,7 @@ module Puppet # if it already exists, modify the existing one if object = Package[name] states = {} - object.states.each { |state| + object.eachstate { |state| debug "Adding %s" % state.name.inspect states[state.name] = state } @@ -121,7 +121,7 @@ module Puppet else debug "%s is not a set state" % var.inspect if object[var] and object[var] != value - warning "Overriding %s => %s on %s with %s" % + Puppet.warning "Overriding %s => %s on %s with %s" % [var,object[var],name,value] end |