Add missing parameters so these options are usable

This commit is contained in:
Jan Hutar 2016-03-21 12:10:37 +01:00
parent f30f4674e4
commit 3d13a353e0

View file

@ -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))