# File lib/hammer_cli_foreman/operating_system.rb, line 157 def template_exist?(tpl_kind_name) templates = HammerCLIForeman.collection_to_common_format(resource.call(:index, base_action_params)) templates.find { |p| p["template_kind_name"] == tpl_kind_name} end