vagrant plugin librarian-puppet unable to find module on windows -
installed librarian-puppet through vagrant file
required_plugins = %w(vagrant-puppet-install vagrant-librarian-puppet) required_plugins.each |plugin| need_restart = false unless vagrant.has_plugin? plugin system "vagrant plugin install #{plugin} --verbose" need_restart = true end exec "vagrant #{argv.join(' ')}" if need_restart end
in puppetfile:
forge "https://forgeapi.puppetlabs.com" mod 'chocolatey-chocolatey'
i error on vagrant up:
==> default: installing puppet modules in "puppet" librarian-puppet... c:/vagrant/gems/gems/librarian-puppet-1.4.1/lib/librarian/puppet/source/forge/repo_v1.rb:76:in `api_data': unable fin d module 'chocolatey-chocolatey' on https://forgeapi.puppetlabs.com (librarian::error) c:/vagrant/gems/gems/librarian-puppet-1.4.1/lib/librarian/puppet/source/forge/repo_v1.rb:22:in `get_version s' c:/vagrant/gems/gems/librarian-puppet-1.4.1/lib/librarian/puppet/source/forge/repo.rb:15:in `versions' c:/vagrant/gems/gems/librarian-puppet-1.4.1/lib/librarian/puppet/source/forge/repo.rb:42:in `manifests' c:/vagrant/gems/gems/librarian-puppet-1.4.1/lib/librarian/puppet/source/forge.rb:152:in `manifests' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/dependency.rb:117:in `cache_manifests!' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/dependency.rb:113:in `manifests' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:152:in `block in resolving_de pendency_map_find_manifests' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:165:in `block (2 levels) in s cope_resolving_dependency' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:179:in `block in scope_checki ng_manifests' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:178:in `scope_checking_manife sts' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:164:in `block in scope_resolv ing_dependency' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:163:in `scope_resolving_depen dency' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:151:in `resolving_dependency_ map_find_manifests' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:62:in `recursive_resolve' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:50:in `resolve' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/resolver.rb:23:in `resolve' c:/vagrant/gems/gems/librarian-0.1.2/lib/librarian/action/resolve.rb:26:in `run' c:/vagrant/gems/gems/vagrant-librarian-puppet-0.8.0/lib/vagrant-librarian-puppet/action/librarian_puppet.rb :63:in `provision' c:/vagrant/gems/gems/vagrant-librarian-puppet-0.8.0/lib/vagrant-librarian-puppet/action/librarian_puppet.rb :29:in `block in call' c:/vagrant/gems/gems/vagrant-librarian-puppet-0.8.0/lib/vagrant-librarian-puppet/action/librarian_puppet.rb :28:in `each' c:/vagrant/gems/gems/vagrant-librarian-puppet-0.8.0/lib/vagrant-librarian-puppet/action/librarian_puppet.rb :28:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:95:in `block in finalize _action' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `block in run' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in `busy' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `run' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/call.rb:53:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:95:in `block in finalize _action' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `block in run' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in `busy' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `run' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/call.rb:53:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/hyperv/action/import.rb:86:in `call ' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:95:in `block in finalize _action' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `block in run' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in `busy' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `run' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/call.rb:53:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/config_validate.rb:25:in ` call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/handle_box.rb:56:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/hyperv/action/check_enabled.rb:18:i n `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `block in run' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in `busy' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `run' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:214:in `action_raw' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:191:in `block in action' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:516:in `lock' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:in `action' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/batch_action.rb:82:in `block (2 levels) n run' c:/hashicorp/vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' c:/hashicorp/vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in cr eate_with_logging_context'
my vagrant plugin list:
vagrant-librarian-puppet (0.8.0) vagrant-puppet-install (2.7.0) vagrant-share (1.1.3, system)
it looks correct should using url forgeapi.puppetlabs.com.
if go website can results using api search.
anyone has idea why can't find module?
Comments
Post a Comment