in itchef/cookbooks/cpe_chrome/libraries/windows_chrome_setting.rb [90:114]
def construct_reg_key_path(key = @name, suffix_path = nil)
if ENUM_REG_KEYS.keys.include?(key)
{
"#{CPE::ChromeManagement.chrome_reg_root}\\#{key}" =>
ENUM_REG_KEYS[key],
}
elsif in_json_key?
{
CPE::ChromeManagement.chrome_reg_root =>
JSONIFY_REG_KEYS[which_json_key][key],
}
elsif in_complex_key?
lookup_complex(key)
elsif !suffix_path.nil?
{
"#{CPE::ChromeManagement.chrome_reg_root}\\#{suffix_path}" => :string,
}
else
Chef::Log.warn("#{key} is not a supported setting")
{}
end
end