Add missing parameters so these options are usable

pull/18777/head
Jan Hutar 9 years ago committed by Matt Clay
parent 65243dfb91
commit 45076bddb9

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