Closed fculpo closed 8 years ago
Did the manual command succeed?
puppet module install --version 1.3.1 --target-dir E:/Workspace/bath/vagrant-puppet/puppet/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/pup
petlabs-vcsrepo/1.3.1 --module_repository https://forgeapi.puppetlabs.com --modulepath E:/Workspace/bath/vagrant-puppet/puppet/.tmp/librarian/cache/source/pupp
et/forge/forgeapi_puppetlabs_com/puppetlabs-vcsrepo/1.3.1 --module_working_dir E:/Workspace/bath/vagrant-puppet/puppet/.tmp/librarian/cache/source/puppet/forge
/forgeapi_puppetlabs_com/puppetlabs-vcsrepo/1.3.1 --ignore-dependencies puppetlabs-vcsrepo
I'm getting this error as well. Running the command manually fails:
$ puppet module install --version 4.12.0 --target-dir C:/Users/ajedi32/Workspace/projects/puppet-linuxmymodule/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/4.12.0 --module_repository https://forgeapi.puppetlabs.com --modulepath C:/Users/ajedi32/Workspace/projects/puppet-linuxmymodule/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/4.12.0 --module_working_dir C:/Users/ajedi32/Workspace/projects/puppet-linuxmymodule/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/4.12.0 --ignore-dependencies puppetlabs-stdlib
Notice: Preparing to install into C:/Users/ajedi32/Workspace/projects/puppet-linuxmymodule/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/
4.12.0 ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Error: No such file or directory @ rb_sysopen - C:/Users/ajedi32/Workspace/projects/puppet-linuxmymodule/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/4.12.0/cache/tmp20160613-6380-15m8v7t/puppetlabs-stdlib-4.12.0/spec/unit/puppet/parser/functions/is_absolute_path_spec.rb
My guess is it's caused by the maximum path length of 260 characters in the Windows API, as the path in both my error message and @fculpo's exceed 260 characters.
Could you try running librarian-puppet locally with the same Puppetfile?
You mean manually? Actually that's what I have been doing. I literally just discovered vagrant-librarian-puppet
when I encountered this issue in a Google search. The issue I'm having is with librarian-puppet
itself, not vagrant-librarian-puppet
. Just thought I'd chime in to help future searchers, since I believe I know the cause of the issue.
See also voxpupuli/librarian-puppet#17...
That's what I assumed. I just wanted to make sure that it was an upstream problem. Thanks.
Every time i try to install puppetlabs-vcsrepo, i encounter this error (all other modules work fine):
Puppetfile
forge "https://forge.puppetlabs.com"
mod 'puppetlabs-apt' mod 'puppetlabs-concat' mod 'puppetlabs-git' mod 'puppetlabs-inifile' mod 'puppetlabs-ntp' mod 'puppetlabs-stdlib' mod 'puppetlabs/vcsrepo', "1.3.1"
mod 'saz-timezone' mod 'camptocamp-systemd' mod 'mayflower-php' mod 'jfryman-nginx'
Puppetfile.lock
FORGE remote: https://forgeapi.puppetlabs.com specs: camptocamp-systemd (0.2.2) darin-zypprepo (1.0.2) example42-puppi (2.1.12) example42-yum (2.1.25) example42-puppi (>= 2.0.0) jfryman-nginx (0.2.7) puppetlabs-apt (< 3.0.0, >= 1.8.0) puppetlabs-concat (< 2.0.0, >= 1.1.1) puppetlabs-stdlib (< 5.0.0, >= 4.2.0) mayflower-php (3.4.2) darin-zypprepo (~> 1.0) example42-yum (~> 2.0) puppetlabs-apt (< 3.0.0, >= 1.0.0) puppetlabs-inifile (~> 1.0) puppetlabs-stdlib (< 5.0.0, >= 4.2.0) puppetlabs-apt (2.2.1) puppetlabs-stdlib (< 5.0.0, >= 4.5.0) puppetlabs-concat (1.2.5) puppetlabs-stdlib (< 5.0.0, >= 3.2.0) puppetlabs-git (0.4.0) puppetlabs-stdlib (>= 3.2.0) puppetlabs-inifile (1.4.3) puppetlabs-ntp (4.1.2) puppetlabs-stdlib (< 5.0.0, >= 4.6.0) puppetlabs-stdlib (4.11.0) puppetlabs-vcsrepo (1.3.1) saz-timezone (3.3.0) puppetlabs-stdlib (>= 2.3.0)
DEPENDENCIES camptocamp-systemd (>= 0) jfryman-nginx (>= 0) mayflower-php (>= 0) puppetlabs-apt (>= 0) puppetlabs-concat (>= 0) puppetlabs-git (>= 0) puppetlabs-inifile (>= 0) puppetlabs-ntp (>= 0) puppetlabs-stdlib (>= 0) puppetlabs-vcsrepo (= 1.3.1) saz-timezone (>= 0)
Stack trace