We have multiple OOD sites connecting to our cluster. I’m wanting to use git to manage the /etc/ood/config directory on all the OOD sites. The directories are mostly the same with some small differences based on OOD hostname that live in ood_portal.yml and cluster.yml. Is there a way to use variables within those two .yml files so I can push one repository to all the sites and have the variables change based on the hostname?
Sure, we have automation for puppet and ansible. This is what I would do. If you didn’t use them then you’d have to roll your own shell script or similar to pull from git and edit them.
Thanks, I’ll take a look at those. I might also try using gitlab ci stages to make these changes as well.