Class: Awsom::SaltBootstrap
- Inherits:
-
Object
- Object
- Awsom::SaltBootstrap
- Defined in:
- lib/awsom/salt_bootstrap.rb
Instance Method Summary collapse
-
#initialize(name, ip:, template:) ⇒ SaltBootstrap
constructor
A new instance of SaltBootstrap.
- #run ⇒ Object
Constructor Details
#initialize(name, ip:, template:) ⇒ SaltBootstrap
Returns a new instance of SaltBootstrap.
10 11 12 13 14 15 |
# File 'lib/awsom/salt_bootstrap.rb', line 10 def initialize(name, ip:, template:) @name = name @ip = ip @template = template validate! end |
Instance Method Details
#run ⇒ Object
17 18 19 20 21 |
# File 'lib/awsom/salt_bootstrap.rb', line 17 def run copy_bootstrap_data puts "running bootstrap.sh" run_bootstrap_sh end |