puppet – 使用apt源的依赖循环
发布时间:2020-12-13 20:46:38 所属栏目:百科 来源:网络整理
导读:我正在尝试在 https://github.com/dwerder/puppet-mongodb安装puppet模块 它的工作要求之一是设置mongodb存储库.由于我正在尝试在Debian上部署它,我尝试使用以下类添加源: class mongodb::apt::repo { include apt apt::source { '10gen': location = 'http
我正在尝试在
https://github.com/dwerder/puppet-mongodb安装puppet模块
它的工作要求之一是设置mongodb存储库.由于我正在尝试在Debian上部署它,我尝试使用以下类添加源: 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 } } 但是,在尝试安装模块(在测试节点上)时,我得到以下输出: root@debian:/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 注意:完成的目录在0.06秒内运行 该类包含在模块的安装类中,位于https://github.com/dwerder/puppet-mongodb/blob/master/manifests/install.pp 我不太清楚为什么会出现这种依赖循环,任何想法?
你的最后一次改变是什么(可能是你添加周期的那一刻).
尝试使用该建议来生成图表.将生成的点文件作为gist发布,以便我们进一步调查. 看看Debugging cycle or missing dependency. 请注意,某些依赖项是显式的(require,– >)或隐式的(资源提供程序通过它自己添加依赖项)…查看点文件应该有所帮助. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 如何检查上次在Oracle上运行的统计信息,而无需使用OEM
- Oracle client uninstall and reinstall
- ShiftJS:Swift 转 JavaScript 编译器 (JavaScript)
- PostgreSQL基于同一个表更新行
- c# – 为什么CLR会重新抛出ThreadAbortException?
- XML Schema基本用法
- ruby-on-rails – 分析文本以在Rails中自动创建标记
- swf2exe,Flash2exe,SWF to Exe转换器,FLV视频打包,SWF转换为
- 数据库 – postgreSQL vs Cassandra vs MongoDB vs Voldemo
- 如何在sqlite中为所有表使用一个序列