diff --git a/app/models/manageiq/providers/ansible_tower/provider.rb b/app/models/manageiq/providers/ansible_tower/provider.rb index 47b4a7cff32..b59f9e994ba 100644 --- a/app/models/manageiq/providers/ansible_tower/provider.rb +++ b/app/models/manageiq/providers/ansible_tower/provider.rb @@ -1,5 +1,5 @@ class ManageIQ::Providers::AnsibleTower::Provider < ::Provider - include ManageIQ::Providers::AnsibleTower::ProviderMixin + include ManageIQ::Providers::AnsibleTower::Shared::Provider has_one :automation_manager, :foreign_key => "provider_id", diff --git a/app/models/manageiq/providers/ansible_tower/provider_mixin.rb b/app/models/manageiq/providers/ansible_tower/shared/provider.rb similarity index 97% rename from app/models/manageiq/providers/ansible_tower/provider_mixin.rb rename to app/models/manageiq/providers/ansible_tower/shared/provider.rb index 7fb2258db97..ced3d7b5dde 100644 --- a/app/models/manageiq/providers/ansible_tower/provider_mixin.rb +++ b/app/models/manageiq/providers/ansible_tower/shared/provider.rb @@ -1,4 +1,4 @@ -module ManageIQ::Providers::AnsibleTower::ProviderMixin +module ManageIQ::Providers::AnsibleTower::Shared::Provider extend ActiveSupport::Concern def self.included(klass) diff --git a/app/models/manageiq/providers/embedded_ansible/provider.rb b/app/models/manageiq/providers/embedded_ansible/provider.rb index e539a1b91fb..854ba6a6c05 100644 --- a/app/models/manageiq/providers/embedded_ansible/provider.rb +++ b/app/models/manageiq/providers/embedded_ansible/provider.rb @@ -1,5 +1,5 @@ class ManageIQ::Providers::EmbeddedAnsible::Provider < ::Provider - include ManageIQ::Providers::AnsibleTower::ProviderMixin + include ManageIQ::Providers::AnsibleTower::Shared::Provider has_one :automation_manager, :foreign_key => "provider_id",