Class: Serverkit::Actions::Apply

Inherits:
Base
  • Object
show all
Defined in:
lib/serverkit/actions/apply.rb

Constant Summary

Constants inherited from Base

Base::DEFAULT_LOG_LEVEL

Instance Method Summary collapse

Methods inherited from Base

#call, #initialize

Constructor Details

This class inherits a constructor from Serverkit::Actions::Base

Instance Method Details

#runObject

Apply recipe so that all backends have ideal states, then exit with 0 or 1


8
9
10
11
12
13
14
# File 'lib/serverkit/actions/apply.rb', line 8

def run
  if apply_resources
    exit
  else
    exit(1)
  end
end