theforeman / foreman-infra

Puppet modules and scripts to manage Foreman project infrastructure
https://theforeman.github.io/foreman-infra
Apache License 2.0
23 stars 51 forks source link

allow all directories to be "safe" in git terms #2100

Closed evgeni closed 2 weeks ago

evgeni commented 2 weeks ago

Git in EL9+ only allows to clone repositories that one is the owner of. This obviously doesn't work for shared repositories like we have them for secretsgit.

Disable that feature alltogether on systems that serve as secretsgit sources.

Sadly a more specific wildcard is not supported [1] and given Puppet doesn't know which stores we have, I've opted to completely disabling this feature.

[1] https://git-scm.com/docs/git-config/2.45.0#Documentation/git-config.txt-safedirectory

evgeni commented 2 weeks ago

CI fix in #2102