Class: R10K::Action::Deploy::Module

Inherits:
Base
  • Object
show all
Includes:
DeployHelpers, Visitor
Defined in:
lib/r10k/action/deploy/module.rb

Constant Summary

Constants included from Logging

Logging::LOG_LEVELS

Instance Attribute Summary

Attributes inherited from Base

#settings

Instance Method Summary collapse

Methods included from Visitor

#visit

Methods included from DeployHelpers

#check_write_lock!, #expect_config!

Methods inherited from Base

#initialize

Methods included from Logging

debug_formatter, default_formatter, default_outputter, #logger, #logger_name, parse_level

Constructor Details

This class inherits a constructor from R10K::Action::Base

Instance Method Details

#callObject



13
14
15
16
17
18
19
20
21
22
# File 'lib/r10k/action/deploy/module.rb', line 13

def call
  @visit_ok = true

  expect_config!
  deployment = R10K::Deployment.new(@settings)
  check_write_lock!(@settings)

  deployment.accept(self)
  @visit_ok
end