Class: Chef::Provider::Development
- Inherits:
-
Chef::Provider
- Object
- Chef::Provider
- Chef::Provider::Development
- Includes:
- Garcon
- Defined in:
- lib/garcon/chef/provider/development.rb
Constant Summary
Constants included from Garcon
Instance Method Summary collapse
- #action_run ⇒ Object
-
#load_current_resource ⇒ Chef::Provider:Development
private
Load and return the current resource.
-
#whyrun_supported? ⇒ TrueClass, FalseClass
private
Boolean indicating if WhyRun is supported by this provider.
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
Instance Method Details
#action_run ⇒ Object
68 69 70 71 72 73 74 75 |
# File 'lib/garcon/chef/provider/development.rb', line 68 def action_run platform_recipes chef_handler install_gem('pry') Chef::Recipe.send(:require, 'pry') install_gem('awesome_print') Chef::Recipe.send(:require, 'ap') end |
#load_current_resource ⇒ Chef::Provider:Development
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Load and return the current resource.
63 64 65 66 |
# File 'lib/garcon/chef/provider/development.rb', line 63 def load_current_resource @current_resource ||= Chef::Resource::Development.new(r.name) @current_resource end |
#whyrun_supported? ⇒ TrueClass, FalseClass
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Boolean indicating if WhyRun is supported by this provider
54 55 56 |
# File 'lib/garcon/chef/provider/development.rb', line 54 def whyrun_supported? true end |