summaryrefslogtreecommitdiff
path: root/infrastructure/foreman
diff options
context:
space:
mode:
authorEric D Helms <eric.d.helms@gmail.com>2016-10-15 03:07:51 -0400
committerRené Moser <mail@renemoser.net>2016-10-15 09:07:51 +0200
commitbaed114a92763661ac023d0c087ebde1a7fa15ce (patch)
tree166c78da95bb208dc4e3d16fba45c2710262a0b1 /infrastructure/foreman
parent16b8128c8f159f1923c605d38cf3098fb77b1dbd (diff)
downloadansible-modules-extras-baed114a92763661ac023d0c087ebde1a7fa15ce.tar.gz
Fix broken entities reference in Katello module (#3136)
Diffstat (limited to 'infrastructure/foreman')
-rw-r--r--infrastructure/foreman/katello.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/infrastructure/foreman/katello.py b/infrastructure/foreman/katello.py
index 3f7f4294..3d521924 100644
--- a/infrastructure/foreman/katello.py
+++ b/infrastructure/foreman/katello.py
@@ -327,7 +327,7 @@ class NailGun(object):
products = params['products']
del params['products']
- sync_plan = SyncPlan(
+ sync_plan = self._entities.SyncPlan(
self._server,
name=params['name'],
organization=org
@@ -392,8 +392,8 @@ class NailGun(object):
env = self.find_lifecycle_environment(environment, organization)
content_view = self.find_content_view(name, organization)
- content_view_version = ContentViewVersion(self._server, content_view=content_view)
- response = content_view_version.search(set('content_view'), {'environment_id': env.id})
+ content_view_version = self._entities.ContentViewVersion(self._server, content_view=content_view)
+ response = content_view_version.search(['content_view'], {'environment_id': env.id})
if len(response) == 1:
return response[0]