dmwm / PHEDEX

CMS data-placement suite
8 stars 18 forks source link

Improve config files processing #1101

Open nataliaratnikova opened 6 years ago

nataliaratnikova commented 6 years ago

The eval of $(Master --config <file> environ) and $(Master --config <file> show <agent>) can be broken when Master does not return a well-formed bash syntax. Particularly happens in LifeCycle configuration examples. The reason is a missing command separator ";" at the end of lines , which are concatenated internally.
Site admins should be warned about this when writing/updating custom config files. Also PHEDEX::Core::Config and templates need to be reviewed and corrected.