我正在尝试使用图书管理员木偶从 Artifactory 存储库中获取伪造模块。
在我的 Puppetfile 中,我有类似的内容:
forge "https://<artifactory_host>/artifactory/api/puppet/<repo_key>" #From artifactory docs
# PuppetLabs Modules
mod 'puppetlabs/stdlib', '4.24.0'
我正在使用的命令是/usr/local/bin/pdk bundle -- exec librarian-puppet install --no-use-v1-api --verbose
我得到的错误是:
[Librarian] Resolving puppetlabs-stdlib (= 4.24.0) <https://<artifactory_host>/artifactory/api/puppet/<repo_key>>
[Librarian] Checking manifests Unable to find module 'puppetlabs-stdlib' on https://<artifactory_host>/artifactory/api/puppet/<repo_key>
/tmp/tmp.BXyhBoNRiR/.pdk/cache/ruby/2.1.0/gems/librarian-puppet-3.0.0/lib/librarian/puppet/source/forge/repo_v3.rb:44:in `rescue in get_module'
/tmp/tmp.BXyhBoNRiR/.pdk/cache/ruby/2.1.0/gems/librarian-puppet-3.0.0/lib/librarian/puppet/source/forge/repo_v3.rb:41:in `get_module'
版本:
- 木偶 3.8.7
- PK 1.5.0
- 红宝石 2.1.9
根据https://www.jfrog.com/confluence/display/RTF/Puppet+Repositories#PuppetRepositories-Usinglibrarian-puppet上的文档,我似乎正在尝试使用图书管理员-puppet 正确获取模块,但是有些大多数失踪。
谢谢你的帮助。