Module: EY

Defined in:
lib/ey-deploy.rb,
lib/ey-deploy/cli.rb,
lib/ey-deploy/task.rb,
lib/ey-deploy/deploy.rb,
lib/ey-deploy/server.rb,
lib/ey-deploy/version.rb,
lib/ey-deploy/deploy_hook.rb,
lib/ey-deploy/configuration.rb,
lib/ey-deploy/logged_output.rb,
lib/ey-deploy/strategies/git.rb,
lib/ey-deploy/lockfile_parser.rb,
lib/ey-deploy/bundle_installer.rb

Defined Under Namespace

Modules: LoggedOutput, Strategies Classes: BundleInstaller, CLI, Deploy, DeployBase, DeployHook, LockfileParser, Server, Task

Constant Summary collapse

RemoteFailure =
Class.new StandardError
VERSION =
'1.1.2'

Class Method Summary collapse

Class Method Details

.dna_jsonObject



28
29
30
# File 'lib/ey-deploy.rb', line 28

def self.dna_json
  @dna_json ||= `sudo cat /etc/chef/dna.json`
end

.nodeObject



24
25
26
# File 'lib/ey-deploy.rb', line 24

def self.node
  @node ||= deep_indifferentize(JSON.parse(dna_json))
end