Bug #26199
Using server_git_repo in theforeman-puppet leads to a dependency cycle
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Pull request:
Fixed in Releases:
Found in Releases:
Description
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])
Associated revisions
History
#1
Updated by The Foreman Bot over 3 years ago
- Assignee set to Ewoud Kohl van Wijngaarden
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/puppet-puppet/pull/682 added
#2
Updated by Ewoud Kohl van Wijngaarden over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-puppet|964f110cdb8e654572b96553607e0784674d2a8e.
#3
Updated by Ewoud Kohl van Wijngaarden over 3 years ago
- Fixed in Releases 1.22.0 added
#4
Updated by Tomer Brisker over 3 years ago
- Fixed in Releases 1.21.1 added
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.
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.