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
391 392 393 394 395 |
# File 'lib/garcon/chef/provider/archive.rb', line 391 Chef::Platform.set( platform: :amazon, resource: :archive, provider: Chef::Provider::Archive ) |
#centos ⇒ undefined
Chef::Platform mapping for resource and providers
402 403 404 405 406 |
# File 'lib/garcon/chef/provider/archive.rb', line 402 Chef::Platform.set( platform: :centos, resource: :archive, provider: Chef::Provider::Archive ) |
#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
413 414 415 416 417 |
# File 'lib/garcon/chef/provider/archive.rb', line 413 Chef::Platform.set( platform: :oracle, resource: :archive, provider: Chef::Provider::Archive ) |