Class: SmallWonder::Deploy
- Inherits:
-
Object
- Object
- SmallWonder::Deploy
- Defined in:
- lib/small_wonder/deploy.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/small_wonder/deploy.rb', line 3 def self.run() if SmallWonder::Config.app nodes = SmallWonder::Deploy.node_query() action = SmallWonder::Config.action.split(",") SmallWonder::Deploy.run_action_task(action, SmallWonder::Config.app, nodes) else SmallWonder::Log.error("No application was specified for your deploy, use the '-p' switch.") end end |