Skip to content

Commit

Permalink
Merge pull request #7225 from chaen/v8.1_voInCI
Browse files Browse the repository at this point in the history
feat (ComponentInstaller): add VO to each default group upon installation
  • Loading branch information
fstagni authored Oct 4, 2023
2 parents 24263e2 + 77373cb commit 6cdcf6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/DIRAC/FrameworkSystem/Client/ComponentInstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,9 @@ def _getCentralCfg(self, installCfg):
if not centralCfg["Registry"]["Groups"][group].isOption("Properties"):
centralCfg["Registry"]["Groups"][group].addKey("Properties", "", "")

if vo and not centralCfg["Registry"]["Groups"][group].isOption("VO"):
centralCfg["Registry"]["Groups"][group].addKey("VO", vo, "")

properties = centralCfg["Registry"]["Groups"][adminGroupName].getOption("Properties", [])
for prop in adminGroupProperties:
if prop not in properties:
Expand Down

0 comments on commit 6cdcf6c

Please sign in to comment.