Class: ChefInstance::Install::Existing
- Defined in:
- lib/chef_instance/install/existing.rb
Overview
A Superclass for installing softare that already exists on the system. Useful for software copied on to the system from the outside, or available on the local disk.
Instance Method Summary collapse
-
#initialize(new_resource, run_context = nil) ⇒ Existing
constructor
Construct a new Existing object.
-
#install ⇒ Object
We don't really install since its already existing.
-
#uninstall ⇒ Object
We don't really uninstall since its already existing.
Constructor Details
#initialize(new_resource, run_context = nil) ⇒ Existing
Construct a new Existing object.
12 13 14 15 16 |
# File 'lib/chef_instance/install/existing.rb', line 12 def initialize(new_resource, run_context = nil) super @new_resource = new_resource @run_context = run_context end |
Instance Method Details
#install ⇒ Object
We don't really install since its already existing.
19 20 |
# File 'lib/chef_instance/install/existing.rb', line 19 def install end |
#uninstall ⇒ Object
We don't really uninstall since its already existing.
23 24 |
# File 'lib/chef_instance/install/existing.rb', line 23 def uninstall end |