Class: Hazetug::Tug::Knife
- Inherits:
-
KnifeBase
- Object
- Hazetug::Tug
- KnifeBase
- Hazetug::Tug::Knife
- Defined in:
- lib/hazetug/tug/knife.rb
Constant Summary
Constants inherited from Hazetug::Tug
Constants included from NetSSH::Mixin
NetSSH::Mixin::NET_SSH_OPTIONS
Instance Attribute Summary
Attributes inherited from Hazetug::Tug
Instance Method Summary collapse
- #bootstrap_config ⇒ Object
-
#initialize(config = {}) ⇒ Knife
constructor
A new instance of Knife.
Methods inherited from KnifeBase
#bootstrap_cleanup, #bootstrap_init, #bootstrap_options, #bootstrap_run, #bootstrap_server, #check_bootstrap_files!, #hazetug_identity, #knife
Methods inherited from Hazetug::Tug
Methods included from UI::Mixin
Constructor Details
#initialize(config = {}) ⇒ Knife
Returns a new instance of Knife.
9 10 11 12 13 14 |
# File 'lib/hazetug/tug/knife.rb', line 9 def initialize(config={}) super [ :chef_server_url, :validation_key ].inject(@chef_option_list, :<<) end |
Instance Method Details
#bootstrap_config ⇒ Object
16 17 18 19 |
# File 'lib/hazetug/tug/knife.rb', line 16 def bootstrap_config super check_bootstrap_files! :validation_key, :template_file end |