Closed bittner closed 6 years ago
Can you paste in the dep cycle you are getting? Graphing it helps sometimes.
Isn't it the one shown by the error message?
(Anchor[apt_key 177F4010FE56CA3336300305F1656F24C74CD1D8 present] => Apt::Key[Add key: 177F4010FE56CA3336300305F1656F24C74CD1D8 from Apt::Source mariadb] => Apt::Source[mariadb] => Class[Apt::Update] => Exec[apt_update] => Class[Apt::Update] => Package[dirmngr] => Apt::Key[Add key: 177F4010FE56CA3336300305F1656F24C74CD1D8 from Apt::Source mariadb] => Anchor[apt_key 177F4010FE56CA3336300305F1656F24C74CD1D8 present])
What is Package[dirmngr]? That seems to be related and not in the mariadb module
I have no idea (read: too lazy to analyze) where this comes from. It is available in both Jessie and Stretch, though.
Let me know if this is still an issue. I have converted to pdk. Not sure if that helps.
I'm working in a different environment now. No easy way to test your changes. I'm closing this issue, sorry!
I'm running RSpec tests against a role of our control repository, and the test fails with a dependency cycle on Debian 9. This is what the test looks like:
The tests are executed using PDK on a GitLab runner: (Interestingly, when I run the same command locally on my Ubuntu 17.04 Zesty development machine the tests pass. :confused:)
In the role I only include the needed profiles, and the
mariadb::server
profile only includes this module:Any idea what could be wrong?