Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./bin/shef
- Loading Node Data
- Ohai2u danielsdeleo@eigenstate.local!
- chef > tracing :on
- This is going to be verbose...
- /Users/danielsdeleo/.rvm/ree-1.8.7-2009.10/lib/ruby/1.8/tracer.rb:150: warning: tried to create Proc object without a block
- /Users/danielsdeleo/.rvm/ree-1.8.7-2009.10/lib/ruby/1.8/tracer.rb:146: warning: tried to create Proc object without a block
- tracing = on
- => nil
- chef > tracing :off
- #0:(irb):2:Object:-: tracing :off
- #0:./lib/shef.rb:108:Shef::ChefObject:>: def trace(on_off=nil)
- #0:./lib/shef.rb:109:Shef::ChefObject:-: return trace? if on_off.nil?
- #0:./lib/shef.rb:109:Kernel:>: return trace? if on_off.nil?
- #0:./lib/shef.rb:109:Kernel:<: return trace? if on_off.nil?
- #0:./lib/shef.rb:109:Shef::ChefObject:-: return trace? if on_off.nil?
- #0:./lib/shef.rb:110:Shef::ChefObject:-: on_off = true if on_off.to_s == "on"
- #0:./lib/shef.rb:110:Symbol:>: on_off = true if on_off.to_s == "on"
- #0:./lib/shef.rb:110:Symbol:<: on_off = true if on_off.to_s == "on"
- #0:./lib/shef.rb:110:String:>: on_off = true if on_off.to_s == "on"
- #0:./lib/shef.rb:110:String:<: on_off = true if on_off.to_s == "on"
- #0:./lib/shef.rb:110:Shef::ChefObject:-: on_off = true if on_off.to_s == "on"
- #0:./lib/shef.rb:111:Shef::ChefObject:-: on_off = false if on_off.to_s == "off"
- #0:./lib/shef.rb:111:Symbol:>: on_off = false if on_off.to_s == "off"
- #0:./lib/shef.rb:111:Symbol:<: on_off = false if on_off.to_s == "off"
- #0:./lib/shef.rb:111:String:>: on_off = false if on_off.to_s == "off"
- #0:./lib/shef.rb:111:String:<: on_off = false if on_off.to_s == "off"
- #0:./lib/shef.rb:111:Shef::ChefObject:-: on_off = false if on_off.to_s == "off"
- #0:./lib/shef.rb:112:Shef::ChefObject:-: puts "This is going to be verbose..." if on_off
- #0:./lib/shef.rb:112:Shef::ChefObject:-: puts "This is going to be verbose..." if on_off
- #0:./lib/shef.rb:113:Shef::ChefObject:-: conf.use_tracer = on_off
- tracing = off
- => nil
Add Comment
Please, Sign In to add comment