Class: Subspace::Commands::Bootstrap
- Defined in:
- lib/subspace/commands/bootstrap.rb
Constant Summary collapse
- PASS_THROUGH_PARAMS =
["private-key"]
Instance Method Summary collapse
-
#initialize(args, options) ⇒ Bootstrap
constructor
A new instance of Bootstrap.
- #run ⇒ Object
Methods inherited from Base
#confirm_overwrite, #copy, #dest_dir, #gem_path, #pass_through_params, #playbook_dir, #project_path, #require_configuration, #template, #template!, #template_dir
Methods included from Ansible
Constructor Details
#initialize(args, options) ⇒ Bootstrap
Returns a new instance of Bootstrap.
4 5 6 7 8 9 10 |
# File 'lib/subspace/commands/bootstrap.rb', line 4 def initialize(args, ) @host_spec = args.first @options = @ask_pass = .password @yum = .yum run end |
Instance Method Details
#run ⇒ Object
12 13 14 15 16 |
# File 'lib/subspace/commands/bootstrap.rb', line 12 def run # ansible atlanta -m copy -a "src=/etc/hosts dest=/tmp/hosts" install_python ensure_ssh_dir end |