Method: Puppet::Transaction::Persistence#get_system_value
- Defined in:
- lib/puppet/transaction/persistence.rb
#get_system_value(resource_name, param_name) ⇒ Object?
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.
Retrieve the system value using the resource and parameter name
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/puppet/transaction/persistence.rb', line 24 def get_system_value(resource_name, param_name) if !@old_data["resources"].nil? && !@old_data["resources"][resource_name].nil? && !@old_data["resources"][resource_name]["parameters"].nil? && !@old_data["resources"][resource_name]["parameters"][param_name].nil? @old_data["resources"][resource_name]["parameters"][param_name]["system_value"] else nil end end |