diff options
author | Luke Kanies <luke@madstop.com> | 2005-05-11 19:05:39 +0000 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2005-05-11 19:05:39 +0000 |
commit | ec88acf10421b4c2dba38f154d5adcf9ea9202d2 (patch) | |
tree | 463159539b0c9d08142c47a859b8334bceeff6f3 /lib/blink/client.rb | |
parent | 42dadad734a71dd10b059747b927394b4ef31ea6 (diff) | |
download | puppet-ec88acf10421b4c2dba38f154d5adcf9ea9202d2.tar.gz puppet-ec88acf10421b4c2dba38f154d5adcf9ea9202d2.tar.xz puppet-ec88acf10421b4c2dba38f154d5adcf9ea9202d2.zip |
i can basically actually do work now
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@240 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/blink/client.rb')
-rw-r--r-- | lib/blink/client.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/blink/client.rb b/lib/blink/client.rb index 361301181..424aa379b 100644 --- a/lib/blink/client.rb +++ b/lib/blink/client.rb @@ -30,33 +30,27 @@ module Blink def objects=(list) objects = [] list.collect { |object| - Blink.verbose "object %s" % [object] # create a Blink object from the list... #puts "yayness" if type = Blink::Type.type(object.type) namevar = type.namevar - puts object.inspect if namevar != :name object[namevar] = object[:name] object.delete(:name) end - puts object.inspect begin - puts object.inspect typeobj = type.new(object) - Blink.verbose "object %s is %s" % [object,typeobj] objects.push typeobj rescue => detail puts "Failed to create object: %s" % detail - puts object.class - puts object.inspect + #puts object.class + #puts object.inspect exit end else raise "Could not find object type %s" % object.type end } - Blink.verbose "object length is %s" % objects.length # okay, we have a list of all of the objects we're supposed # to execute |