Class: Provisioner::Command::Bootstrap

Inherits:
Base
  • Object
show all
Defined in:
lib/provisioner/command/bootstrap.rb

Defined Under Namespace

Classes: HostCommand

Instance Attribute Summary

Attributes inherited from Base

#distro, #environment, #flavor, #host_number, #host_prefix, #host_presuffix, #host_sequence, #host_suffix, #image, #log_dir, #networks, #options, #run_list, #ssh_user, #tags

Instance Method Summary collapse

Methods inherited from Base

#initialize, #run, #shell_commands

Constructor Details

This class inherits a constructor from Provisioner::Command::Base

Instance Method Details

#use_sudo?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/provisioner/command/bootstrap.rb', line 5

def use_sudo?
  options[:sudo]
end