From 5d77b2d3b3392b27e4e2e55f8f673aca9871b962 Mon Sep 17 00:00:00 2001 From: James Wong Date: Mon, 13 Aug 2018 10:21:41 -0400 Subject: [PATCH] switch back to require_nested due to linux load error --- .../embedded_ansible/automation_manager.rb | 26 ++++++++++++++++++- .../providers/embedded_automation_manager.rb | 7 ++++- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/app/models/manageiq/providers/embedded_ansible/automation_manager.rb b/app/models/manageiq/providers/embedded_ansible/automation_manager.rb index bdaf6aee0a0..1df1245bf13 100644 --- a/app/models/manageiq/providers/embedded_ansible/automation_manager.rb +++ b/app/models/manageiq/providers/embedded_ansible/automation_manager.rb @@ -1,6 +1,30 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager < ManageIQ::Providers::EmbeddedAutomationManager include ManageIQ::Providers::AnsibleTower::Shared::AutomationManager - require_nested_all + + require_nested :Credential + require_nested :AmazonCredential + require_nested :AzureCredential + require_nested :CloudCredential + require_nested :GoogleCredential + require_nested :MachineCredential + require_nested :VaultCredential + require_nested :NetworkCredential + require_nested :OpenstackCredential + require_nested :ScmCredential + require_nested :VmwareCredential + require_nested :RhvCredential + + require_nested :ConfigurationScript + require_nested :ConfigurationScriptSource + require_nested :ConfigurationWorkflow + require_nested :ConfiguredSystem + require_nested :EventCatcher + require_nested :EventParser + require_nested :Inventory + require_nested :Job + require_nested :Playbook + require_nested :Refresher + require_nested :RefreshWorker def self.ems_type @ems_type ||= "embedded_ansible_automation".freeze diff --git a/app/models/manageiq/providers/embedded_automation_manager.rb b/app/models/manageiq/providers/embedded_automation_manager.rb index edeb12da46d..8e1b7ce033b 100644 --- a/app/models/manageiq/providers/embedded_automation_manager.rb +++ b/app/models/manageiq/providers/embedded_automation_manager.rb @@ -1,5 +1,10 @@ class ManageIQ::Providers::EmbeddedAutomationManager < ManageIQ::Providers::AutomationManager - require_nested_all + require_nested :Authentication + require_nested :ConfigurationScript + require_nested :ConfigurationScriptPayload + require_nested :ConfigurationScriptSource + require_nested :ConfiguredSystem + require_nested :OrchestrationStack def supported_catalog_types %w(generic_ansible_playbook)