Skip to content

Commit cedd34b

Browse files
committed
changes to move SYNTH readout configs in CONSUL
1 parent 5160e64 commit cedd34b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflows/readout-dataflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ roles:
13591359
vars:
13601360
detector: "{{ctp_readout_enabled == 'true' ? inventory.DetectorForHost( ctp_readout_host ) : \"\" }}"
13611361
readout_cfg_uri_standalone: "consul-ini://{{ consul_endpoint }}/o2/components/{{config.ResolvePath('readout/' + run_type + '/any/standalone/readout-standalone-' + ctp_readout_host)}}"
1362-
readout_cfg_uri_stfb: "consul-ini://{{ consul_endpoint }}/o2/components/{{config.Resolve('readout', run_type, 'stfb', 'readout-stfb-' + ctp_readout_host)}}"
1362+
readout_cfg_uri_stfb: "consul-ini://{{ consul_endpoint }}/o2/components/{{config.Resolve('readout', run_type, readout_folder, 'readout-stfb-' + ctp_readout_host)}}"
13631363
dd_discovery_ib_hostname: "{{ ctp_readout_host }}-ib" # MUST be defined for all stfb and stfs
13641364
# dpl_workflow is set to ctp_dpl_workflow
13651365
dpl_workflow: "{{ util.PrefixedOverride( 'dpl_workflow', 'ctp' ) }}"
@@ -1491,7 +1491,7 @@ roles:
14911491
vars:
14921492
detector: "{{ inventory.DetectorForHost( it ) }}"
14931493
readout_cfg_uri_standalone: "consul-ini://{{ consul_endpoint }}/o2/components/{{config.ResolvePath('readout/' + run_type + '/any/standalone/readout-standalone-' + it)}}"
1494-
readout_cfg_uri_stfb: "consul-ini://{{ consul_endpoint }}/o2/components/{{config.Resolve('readout', run_type, 'stfb', 'readout-stfb-' + it)}}"
1494+
readout_cfg_uri_stfb: "consul-ini://{{ consul_endpoint }}/o2/components/{{config.Resolve('readout', run_type, readout_folder, 'readout-stfb-' + it)}}"
14951495
dd_discovery_ib_hostname: "{{ it }}-ib" # MUST be defined for all stfb and stfs
14961496
# dpl_workflow is set to <detector>_dpl_workflow if such an override exists
14971497
dpl_workflow: "{{ util.PrefixedOverride( 'dpl_workflow', strings.ToLower( inventory.DetectorForHost( it ) ) ) }}"

0 commit comments

Comments
 (0)