Class: Chef::Provider::Civilize
- Inherits:
-
Chef::Provider
- Object
- Chef::Provider
- Chef::Provider::Civilize
- Includes:
- DSL::IncludeRecipe, Garcon
- Defined in:
- lib/garcon/chef/provider/civilize.rb
Constant Summary
Constants included from Garcon
Instance Method Summary collapse
- #action_run ⇒ Object
-
#load_current_resource ⇒ Chef::Provider::Civilize
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
96 97 98 99 100 101 102 103 104 105 106 |
# File 'lib/garcon/chef/provider/civilize.rb', line 96 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_resource ⇒ Chef::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.
91 92 93 94 |
# File 'lib/garcon/chef/provider/civilize.rb', line 91 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
82 83 84 |
# File 'lib/garcon/chef/provider/civilize.rb', line 82 def whyrun_supported? true end |