foreman: Fix get_option regression (#40534)

d303c0706c introduced a regression because
of a partial port from _options to get_option. This fixes it.
This commit is contained in:
Ewoud Kohl van Wijngaarden 2018-05-22 22:40:51 +02:00 committed by Adam Miller
parent 0840cb1fde
commit 7145dd05b6

View file

@ -95,8 +95,8 @@ class CallbackModule(CallbackBase):
super(CallbackModule, self).set_options(task_keys=task_keys, var_options=var_options, direct=direct)
self.FOREMAN_URL = self.get_option('url')
self.FOREMAN_SSL_CERT = (self.get_option['ssl_cert'], self.get_option['ssl_key'])
self.FOREMAN_SSL_VERIFY = str(self.get_option['verify_certs'])
self.FOREMAN_SSL_CERT = (self.get_option('ssl_cert'), self.get_option('ssl_key'))
self.FOREMAN_SSL_VERIFY = str(self.get_option('verify_certs'))
self.ssl_verify = self._ssl_verify()