Skip to content

Commit

Permalink
Add MiqTemplate to InfraManager InventoryCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Jun 19, 2017
1 parent 5edac55 commit f76444c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ def vms(extra_attributes = {})
attributes.merge!(extra_attributes)
end

def miq_templates(extra_attributes = {})
attributes = {
:model_class => ::ManageIQ::Providers::InfraManager::Template,
:association => :miq_templates,
}

attributes.merge!(extra_attributes)
end

def disks(extra_attributes = {})
attributes = {
:model_class => ::Disk,
Expand Down

0 comments on commit f76444c

Please sign in to comment.