server/serverctl.py
changeset 3589 a5432f99f2d9
parent 3369 7b88d12b4ee2
parent 3539 f3b14d052798
child 3647 2941f4a0aab9
equal deleted inserted replaced
3536:f6c9a5df80fb 3589:a5432f99f2d9
   124         asking information necessary to build required configuration files
   124         asking information necessary to build required configuration files
   125         """
   125         """
   126         config = self.config
   126         config = self.config
   127         print underline_title('Configuring the repository')
   127         print underline_title('Configuring the repository')
   128         config.input_config('email', inputlevel)
   128         config.input_config('email', inputlevel)
   129         if config.pyro_enabled():
   129         # ask for pyro configuration if pyro is activated and we're not using a
   130             config.input_config('pyro-server', inputlevel)
   130         # all-in-one config, in which case this is done by the web side command
       
   131         # handler
       
   132         if config.pyro_enabled() and config.name != 'all-in-one':
       
   133             config.input_config('pyro', inputlevel)
   131         print '\n'+underline_title('Configuring the sources')
   134         print '\n'+underline_title('Configuring the sources')
   132         sourcesfile = config.sources_file()
   135         sourcesfile = config.sources_file()
   133         sconfig = Configuration(options=SOURCE_TYPES['native'].options)
   136         sconfig = Configuration(options=SOURCE_TYPES['native'].options)
   134         sconfig.adapter = 'native'
   137         sconfig.adapter = 'native'
   135         sconfig.input_config(inputlevel=inputlevel)
   138         sconfig.input_config(inputlevel=inputlevel)