mwbutcher / docker_registry-puppet-module

puppet module to create a private docker registry
0 stars 1 forks source link

dependency cycle #4

Open oloc opened 9 years ago

oloc commented 9 years ago
Error: Could not apply complete catalog: Found 1 dependency cycle:
(File[/etc/apt/sources.list.d/docker.list] => Apt::Setting[list-docker] => Apt::Source[docker] => Class[Docker_registry::Repos] => Stage[pre] => Stage[main] => Class[Apt] => File[sources.list.d] => File[/etc/apt/sources.list.d/docker.list])
oloc commented 9 years ago

I suggest to remove the stages and to use the require argument. Take a look to my commit : https://github.com/oloc/docker_registry-puppet-module/commit/f9812b31c9a16992f28d2a36fe92b10118ae7c4c