Pārlūkot izejas kodu

handle ui on post 1.2 consul versions

Chris Mague 6 gadi atpakaļ
vecāks
revīzija
b68e5bdcb1
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      files/consul_cloud_setup_post_1.2

+ 1 - 0
files/consul_cloud_setup_post_1.2

@@ -37,6 +37,7 @@ else:
 
 if re.match('consul', data['role']) is not None:
     consul_settings['server'] = True
+    consul_settings['ui'] = True
 
 main_config = open("/opt/consul/etc/config.json", "w")
 main_config.write(json.dumps(consul_settings))