Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch back to require_nested due to linux load error #17848

Merged
merged 1 commit into from
Aug 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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)
Expand Down