Add missing parameters so these options are usable

This commit is contained in:
Jan Hutar 2016-03-21 12:10:37 +01:00 committed by Matt Clay
parent 65243dfb91
commit 45076bddb9

View file

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