Class: ElasticInfra::DirectorBootstrapLinux

Inherits:
Chef::Knife::Bootstrap
  • Object
show all
Includes:
DirectorBootstrapBase
Defined in:
lib/chef/knife/director_bootstrap_linux.rb

Overview

knife bootstrap wrapper for Linux

Constant Summary collapse

DEFAULT_TEMPLATE =

Wraps like: sudo -E knife bootstrap \

--why-run \
host0001 -N host0001 \
-E production \
-t linux
'linux'

Instance Method Summary collapse

Methods included from DirectorBootstrapBase

#bootstrap_template, #run

Constructor Details

#initialize(argv = []) ⇒ DirectorBootstrapLinux

Returns a new instance of DirectorBootstrapLinux.



30
31
32
33
# File 'lib/chef/knife/director_bootstrap_linux.rb', line 30

def initialize(argv = [])
  @default_template = DEFAULT_TEMPLATE
  super
end