Class: Chef::Provider::Civilize

Inherits:
Chef::Provider show all
Includes:
Garcon
Defined in:
lib/garcon/chef/provider/civilize.rb

Constant Summary

Constants included from Garcon

Garcon::VERSION

Instance Method Summary collapse

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_runObject



89
90
91
92
93
94
95
96
97
98
99
# File 'lib/garcon/chef/provider/civilize.rb', line 89

def action_run
  platform_recipes
  civilize_platform
  civilize_locale
  civilize_docker   if docker? && r.docker
  rhel_services     if r.rhel_svcs
  iptables          if !docker? && r.iptables
  selinux           if selinux? && r.selinux
  ps1prompt
  dotfiles          if r.dotfiles
end

#load_current_resourceChef::Provider::Civilize

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.



84
85
86
87
# File 'lib/garcon/chef/provider/civilize.rb', line 84

def load_current_resource
  @current_resource ||= Chef::Resource::Civilize.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

Returns:



75
76
77
# File 'lib/garcon/chef/provider/civilize.rb', line 75

def whyrun_supported?
  true
end