Module: Handyman
- Defined in:
- lib/handyman.rb,
lib/handyman/version.rb
Defined Under Namespace
Classes: Blueprint
Constant Summary collapse
- VERSION =
"0.0.5"
Class Method Summary collapse
-
.make(blueprint, host) ⇒ Object
Build the instruction set to execute on the remote box.
Class Method Details
.make(blueprint, host) ⇒ Object
Build the instruction set to execute on the remote box
9 10 11 12 13 14 15 16 |
# File 'lib/handyman.rb', line 9 def make(blueprint, host) user = ask("Username: "){ |q| q.echo = true } password = ask("Password: "){ |q| q.echo = "*" } blueprint = Blueprint.new(host, user, password) blueprint.build blueprint.execute end |