Class: Bard::Provision
- Inherits:
-
Struct
- Object
- Struct
- Bard::Provision
- Defined in:
- lib/bard/provision.rb
Defined Under Namespace
Classes: App, Apt, Data, HTTP, MasterKey, MySQL, Passenger, RVM, Repo, SSH, User
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#ssh_url ⇒ Object
Returns the value of attribute ssh_url.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config
2 3 4 |
# File 'lib/bard/provision.rb', line 2 def config @config end |
#ssh_url ⇒ Object
Returns the value of attribute ssh_url
2 3 4 |
# File 'lib/bard/provision.rb', line 2 def ssh_url @ssh_url end |
Class Method Details
.call ⇒ Object
3 |
# File 'lib/bard/provision.rb', line 3 def self.call(...) = new(...).call |
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 |
# File 'lib/bard/provision.rb', line 5 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 |