Sha256: d4b014850c076bd68911c6049db4998c1c385abd637f0ca4babdbfd69058b8a8
Contents?: true
Size: 459 Bytes
Versions: 10
Compression:
Stored size: 459 Bytes
Contents
module Bard class Provision < Struct.new(:config, :ssh_url) def self.call(...) = new(...).call def call %w[SSH User Apt MySQL Repo MasterKey RVM App Passenger Data HTTP].each do |step| require "bard/provision/#{step.downcase}" self.class.const_get(step).call(*values) end end private def server config[:production] end def provision_server server.with(ssh: ssh_url) end end end
Version data entries
10 entries across 10 versions & 1 rubygems