Merge pull request #3288 from jhutar/fix-sslcacert-for-rhn_register

Add missing parameters so these options are usable
This commit is contained in:
René Moser 2016-03-31 19:48:57 +02:00
commit 7080dd057b

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