Switch to proper standalone executable with Thor
This commit is contained in:
8
lib/mrsk/cli/server.rb
Normal file
8
lib/mrsk/cli/server.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
require "mrsk/cli/base"
|
||||
|
||||
class Mrsk::Cli::Server < Mrsk::Cli::Base
|
||||
desc "bootstrap", "Ensure Docker is installed on the servers"
|
||||
def bootstrap
|
||||
on(MRSK.config.hosts) { execute "which docker || apt-get install docker.io -y" }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user