Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make OPTIONS[:verbose] set Sprinkle::OPTIONS[:verbose]

Fix for crafterm/sprinkle#12
  • Loading branch information...
commit 62b0f49395420ea43fadecee8fdbc5e930176df5 1 parent a46423d
@bsears bsears authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 bin/sprinkle
View
5 bin/sprinkle
@@ -73,6 +73,10 @@ def powder_cloud(options)
Sprinkle::OPTIONS[:cloud] = OPTIONS[:cloud] || false
end
+def verbosity(options)
+ Sprinkle::OPTIONS[:verbose] = OPTIONS[:verbose] || false
+end
+
def log_level(options)
Object.logger.level = ActiveSupport::BufferedLogger::Severity::DEBUG if options[:verbose]
end
@@ -86,5 +90,6 @@ force_mode(OPTIONS)
operation_mode(OPTIONS)
powder_cloud(OPTIONS)
log_level(OPTIONS)
+verbosity(OPTIONS)
Sprinkle::Script.sprinkle File.read(powder), powder
Please sign in to comment.
Something went wrong with that request. Please try again.