Commit 9f09f2da authored by Łukasz Nowak's avatar Łukasz Nowak

Allow to pass CA parameters from section.

Keep them simple, as section keys are local.
parent 3cf69261
...@@ -45,13 +45,14 @@ class Recipe(GenericBaseRecipe): ...@@ -45,13 +45,14 @@ class Recipe(GenericBaseRecipe):
def install(self): def install(self):
path_list = [] path_list = []
# XXX: We gotta find better a way to get these options ca_country_code = self.options.get('country-code', 'XX')
ca_country_code = 'XX' ca_email = self.options.get('email', 'xx@example.com')
ca_email = 'xx@example.com' # XXX-BBB: State by mistake has been configured as string "('State',)"
ca_state = 'State', # string, so keep this for backward compatibility of existing
ca_city = 'City' # automatically setup CAs
ca_company = 'Company' ca_state = self.options.get('state', "('State',)")
# XXX: end ca_city = self.options.get('city', 'City')
ca_company = self.options.get('company', 'Company')
self.setPath() self.setPath()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment