Top Level Namespace
Defined Under Namespace
Modules: Enumerable, Faker, Garcon, Garcun, Kernel, Mixlib, Uber Classes: Array, Binding, Boolean, Chef, Duration, FalseClass, GarconHash, Hash, Module, NilClass, Numeric, Object, Pathname, Random, String, Struct, Symbol, Time, TrueClass
Instance Method Summary collapse
-
#amazon ⇒ undefined
Chef::Platform mapping for resource and providers.
-
#centos ⇒ undefined
Chef::Platform mapping for resource and providers.
- #Garcon(opts = {}) ⇒ Object
-
#oracle ⇒ undefined
Chef::Platform mapping for resource and providers.
-
#redhat ⇒ undefined
Chef::Platform mapping for resource and providers.
-
#scientific ⇒ undefined
Chef::Platform mapping for resource and providers.
Instance Method Details
#amazon ⇒ undefined
Chef::Platform mapping for resource and providers
135 136 137 138 139 |
# File 'lib/garcon/chef/provider/partial.rb', line 135 Chef::Platform.set( platform: :amazon, resource: :partial, provider: Chef::Provider::Partial ) |
#centos ⇒ undefined
Chef::Platform mapping for resource and providers
146 147 148 149 150 |
# File 'lib/garcon/chef/provider/partial.rb', line 146 Chef::Platform.set( platform: :centos, resource: :partial, provider: Chef::Provider::Partial ) |
#Garcon(opts = {}) ⇒ Object
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
# File 'lib/garcon/chef_inclusions.rb', line 103 def Garcon(opts = {}) if opts.is_a?(Class) opts = { parent: opts } end mod = Module.new def mod.name super || 'Garcon' end mod.define_singleton_method(:included) do |base| super(base) base.class_exec { include Garcon } if base < Chef::Resource base.interpolate(opts[:node], opts[:namespace]) if opts[:interpolate] base.blender if opts[:blender] end end mod end |
#oracle ⇒ undefined
Chef::Platform mapping for resource and providers
157 158 159 160 161 |
# File 'lib/garcon/chef/provider/partial.rb', line 157 Chef::Platform.set( platform: :oracle, resource: :partial, provider: Chef::Provider::Partial ) |