Add missing parameters so these options are usable

reviewable/pr18780/r1
Jan Hutar 9 years ago
parent f30f4674e4
commit 3d13a353e0

@ -344,7 +344,7 @@ def main():
else: else:
try: try:
rhn.enable() rhn.enable()
rhn.register(module.params['enable_eus'] == True, activationkey) rhn.register(module.params['enable_eus'] == True, activationkey, profilename, sslcacert, systemorgid)
rhn.subscribe(channels) rhn.subscribe(channels)
except Exception, e: except Exception, e:
module.fail_json(msg="Failed to register with '%s': %s" % (rhn.hostname, e)) module.fail_json(msg="Failed to register with '%s': %s" % (rhn.hostname, e))

Loading…
Cancel
Save