lib/rubyipmi/freeipmi/commands/bmcconfig.rb in rubyipmi-0.8.1 vs lib/rubyipmi/freeipmi/commands/bmcconfig.rb in rubyipmi-0.9.0
- old
+ new
@@ -6,10 +6,18 @@
super("bmc-config", opts)
@sections = []
end
+ def verbose(on=false)
+ if on
+ @options['verbose'] = false
+ else
+ @options.delete_notify('verbose')
+ end
+ end
+
def section(section)
@options["checkout"] = false
@options["section"] = section
value = runcmd
@options.delete_notify("checkout")
@@ -31,9 +39,11 @@
end
# returns the entire bmc-config configuration, can take a while to execute
def configuration
+ require 'pry'
+ binding.pry
@options["checkout"] = false
value = runcmd
@options.delete_notify("checkout")
@result
end