Skip to content

Commit cc1cefd

Browse files
evgeniehelms
authored andcommitted
move enable_rhsmcertd just after doing the subscription stuff
no need to do it *after* the Foreman API calls
1 parent a722355 commit cc1cefd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bootstrap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,8 @@ def exec_service(service, command, failonerror=True):
14471447
install_katello_agent()
14481448
if 'katello-agent' in options.skip:
14491449
print_warning("Skipping the installation of the Katello Agent is now the default behavior. passing --skip katello-agent is deprecated")
1450+
enable_rhsmcertd()
1451+
14501452
API_PORT = get_api_port()
14511453
if 'foreman' not in options.skip:
14521454
current_host_id = return_matching_foreman_key('hosts', 'name="%s"' % FQDN, 'id', False)
@@ -1475,8 +1477,6 @@ def exec_service(service, command, failonerror=True):
14751477
print_running("Calling Foreman API to update content source for %s to %s" % (FQDN, options.foreman_fqdn))
14761478
update_host_capsule_mapping("content_source_id", smart_proxy_id, current_host_id)
14771479

1478-
enable_rhsmcertd()
1479-
14801480
if 'puppet' not in options.skip and 'foreman' not in options.skip:
14811481
puppet_version = get_puppet_version()
14821482
if puppet_version == 3:

0 commit comments

Comments
 (0)