class Chef::Provider::Development

Public Instance Methods

action_run() click to toggle source
# File lib/garcon/chef/provider/development.rb, line 69
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() click to toggle source

Load and return the current resource.

@return [Chef::Provider:Development]

@api private

# File lib/garcon/chef/provider/development.rb, line 64
def load_current_resource
  @current_resource ||= Chef::Resource::Development.new(r.name)
  @current_resource
end
whyrun_supported?() click to toggle source

Boolean indicating if WhyRun is supported by this provider

@return [TrueClass, FalseClass]

@api private

# File lib/garcon/chef/provider/development.rb, line 55
def whyrun_supported?
  true
end