Class: Chef::Resource::Download
- Inherits:
-
Chef::Resource
- Object
- Chef::Resource
- Chef::Resource::Download
- Includes:
- Garcon
- Defined in:
- lib/garcon/chef/provider/download.rb
Constant Summary
Constants included from Garcon
Instance Attribute Summary collapse
-
#exist ⇒ Object
Returns the value of attribute exist.
-
#installed ⇒ TrueClass, FalseClass
True if resource exists.
Attributes inherited from Chef::Resource
Instance Method Summary collapse
-
#exist? ⇒ Boolean
Determine if the resource exists.
Methods included from Garcon
auto_terminate_all_executors?, auto_terminate_global_executors?, coercer, coercer=, config, configuration, crypto, crypto=, disable_auto_termination_of_all_executors!, disable_auto_termination_of_global_executors!, global_fast_executor, global_io_executor, global_timer_set, included, #inspect, kill_global_executors, monotonic_time, new_fast_executor, new_io_executor, physical_processor_count, processor_count, secret, secret=, shutdown_global_executors, #terminal_dimensions, timer, #to_s, wait_for_global_executors_termination, warn
Methods inherited from Chef::Resource
Instance Attribute Details
#exist ⇒ Object
Returns the value of attribute exist.
71 72 73 |
# File 'lib/garcon/chef/provider/download.rb', line 71 def exist @exist end |
#installed ⇒ TrueClass, FalseClass
Returns True if resource exists.
71 |
# File 'lib/garcon/chef/provider/download.rb', line 71 attr_accessor :exist |
Instance Method Details
#exist? ⇒ Boolean
Determine if the resource exists. This value is set by the provider when the current resource is loaded.
81 82 83 |
# File 'lib/garcon/chef/provider/download.rb', line 81 def exist? !!@exist end |