How are CTA config files parsed?

How are CTA config files parsed, particularly the cta-xrootd-frontend file? I assume the order of the lines containing keys and values is unimportant. What about the order. Does the first instance of a key take precedence or the last?

I’m trying to think of ways to do configuration of a number of FEs with just a few values changed and the easiest way would just be to concatenate a base file and a file with changes.

Hi Eric,

For the cta-frontend-xrootd.conf, the keys are indeed not expected to be in any specific order. When multiple lines set the same key, the last line will take precedence. In that sense, concatenating files should work.

Cheers,
Niels