Class: Mrsk::Cli::Lock
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mrsk::Cli::Base
Instance Method Details
#acquire ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/mrsk/cli/lock.rb', line 11 def acquire = [:message] raise_if_locked do on(MRSK.primary_host) { execute *MRSK.lock.acquire(, MRSK.config.version), verbosity: :debug } say "Acquired the deploy lock" end end |