search for: vng7g08oxowj

Displaying 1 result from an estimated 1 matches for "vng7g08oxowj".

2012 Jul 31
3
Access @resouce in custom type
Is it possible to access @resource variables inside a type? I would like to make some decisions on parameters based on other parameters that may have already been set. For example, --- newparam(:param1) do Puppet.debug "Found drivesperarray parameter" desc "parameter 1" validate do |value| if resource[:otherparam] then #dosomething else