Class | Chef::Mixin::Language::PlatformDependentValue |
In: |
lib/chef/mixin/language.rb
|
Parent: | Object |
Implementation class for determining platform dependent values
Create a platform dependent value object.
platform_hash (Hash) a hash of the same structure as Chef::Platform, like this:
{ :debian => {:default => 'the value for all debian'} [:centos, :redhat, :fedora] => {:default => "value for all EL variants"} :ubuntu => { :default => "default for ubuntu", '10.04' => "value for 10.04 only"}, :default => "the default when nothing else matches" }