Próbuję zainstalować moduł lalkowy w https://github.com/dwerder/puppet-mongodbcykl Zależność z apt źródła
Jednym z wymogów do jego pracy jest mieć repozytorium MongoDB konfiguracji. Ponieważ staram się wdrożyć go na Debianie Próbowałem za pomocą następujące klasy, aby dodać źródło:
class mongodb::apt::repo {
include apt
apt::source { '10gen':
location => 'http://downloads-distro.mongodb.org/repo/debian-sysvinit',
release => 'dist',
repos => '10gen',
key => '7F0CEB10',
key_server => 'keyserver.ubuntu.com',
include_src => false
}
}
Jednak po próbuje zainstalować moduł (na węźle testu) pojawia się następujący komunikat:
[email protected]:/etc/puppet/modules# puppet agent --test
info: Caching catalog for debian.lan
info: Applying configuration version '1353946258'
err: Could not apply complete catalog: Found 1 dependency cycle:
(Exec[apt_update] => Class[Apt::Update] => Anchor[apt::source::10gen] => Anchor[apt::source::10gen] => Apt::Source[10gen] => Class[Mongodb::Apt::Repo] => Package[mongodb-10gen] => Anchor[mongodb::install::end] => Anchor[mongodb::install::end] => File[10gen.list] => Apt::Source[10gen])
Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz
Wskazówka: zakończone Katalog prowadzony w 0,06 sekundy
Klasa jest wliczone w instalacji modułu klasy na https://github.com/dwerder/puppet-mongodb/blob/master/manifests/install.pp
nie jestem qu na pewno, dlaczego ma miejsce ten cykl zależności, jakieś pomysły?
Czy kiedykolwiek to rozgryzłeś? Mam podobny problem. –