HomeSoftware Heritage

Fixes #26199 - Fix dependency cycle when using git_repo

Description

Fixes #26199 - Fix dependency cycle when using git_repo

Previously this resulted in a dependency cycle. The tests didn't compile
so didn't catch it.

dependency cycles found: (File[/opt/puppetlabs/puppet/cache] => Class[Puppet::Server::Install] => Class[Puppet::Server::Config] => File[/opt/puppetlabs/puppet] => File[/opt/puppetlabs/puppet/cache])

a61e010e8d24f2e44ab1ebba0cc4382b05ce9d37 introduced this by managing
$sharedir in puppet::server::config. $vardir was managed in
puppet::server::install. Since sharedir is actually
/opt/puppetlabs/puppet and vardir is the cache directory within that, it
created a cycle.

Details

Provenance
Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>Authored on Mar 1 2019, 12:21 AM
Michael Moll <kvedulv@kvedulv.de>Committed on Mar 3 2019, 2:05 AM
olasdPushed on Jun 26 2019, 2:00 PM
Parents
rSPPUPe8c133e0a0e9: Move client_certname to [main]
Branches
Unknown
Tags
Unknown