Class: Chef::Provider::Civilize
- Inherits:
-
Chef::Provider
- Object
- Chef::Provider
- Chef::Provider::Civilize
- Includes:
- 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
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_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.
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
75 76 77 |
# File 'lib/garcon/chef/provider/civilize.rb', line 75 def whyrun_supported? true end |