Class: TestbotCloud::Server::Bootstrap
- Inherits:
-
Object
- Object
- TestbotCloud::Server::Bootstrap
- Defined in:
- lib/server/shared/bootstrap.rb
Instance Method Summary collapse
-
#initialize(host, id, opts) ⇒ Bootstrap
constructor
A new instance of Bootstrap.
- #install ⇒ Object
Constructor Details
#initialize(host, id, opts) ⇒ Bootstrap
Returns a new instance of Bootstrap.
4 5 6 |
# File 'lib/server/shared/bootstrap.rb', line 4 def initialize(host, id, opts) @host, @id, @opts = host, id, opts end |
Instance Method Details
#install ⇒ Object
8 9 10 |
# File 'lib/server/shared/bootstrap.rb', line 8 def install wait_for_server && upload_bootstrap_files && run('cd bootstrap; sudo sh runner.sh') end |