puppet (3.7.0) module install fails with a specific module that worked on puppet 3.6.2

100 views
Skip to first unread message

Sebastian Otaegui

unread,
Sep 5, 2014, 12:42:52 PM9/5/14
to puppet...@googlegroups.com
Hello, 

I was able to do puppet module install gini/archive before and now with version 3.7.0 I am getting the following:

# puppet module install gini/archive
Notice: Preparing to install into /Users/otaeguis/.puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Error: No such file or directory @ realpath_rec - /Users/otaeguis/.puppet/var/puppet-module/cache/tmp-unpacker20140905-10619-xbbs56/gini-archive-0.2.0/files
Error: Try 'puppet help module install' for usage

Any help on how to workaround this? 

Regards

--
Those who do not understand Unix are condemned to reinvent it, poorly.
Any sufficiently recent Microsoft OS contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Unix.

Anderson Mills

unread,
Sep 5, 2014, 4:44:17 PM9/5/14
to puppet...@googlegroups.com
Sebastian,

So, this is caused by symlinks in this module which don't have a corresponding directory or file. Puppet 3.7.0 now checks for symlinks, and unfortunately has a File Not Found error if the symlinks don't have a corresponding target.

My only suggestion for working around this is to download the module as a tarball, then untar it, make the expected dirs (files, lib, and templates) and then re-tar and install from your new tarball. Here're the commands I used...

 tar xzvf gini-archive-0.2.0.tar.gz
 cd gini-archive-0.2.0/
 mkdir files templates lib
 cd ..
 rm gini-archive-0.2.0.tar.gz
 tar cvzf gini-archive-0.2.0.tar.gz gini-archive-0.2.0
 rm -r gini-archive-0.2.0
 puppet module install gini-archive-0.2.0.tar.gz

Brandon High

unread,
Sep 5, 2014, 7:36:53 PM9/5/14
to puppet...@googlegroups.com
We've filed an issue (https://tickets.puppetlabs.com/browse/PUP-3191) to track this, I have a proposed solution linked in the issue.

Sebastian Otaegui

unread,
Sep 5, 2014, 7:43:21 PM9/5/14
to puppet...@googlegroups.com
Damn, that really sucks because I am using this module from my rspec-puppet tests, so this module gets installed from the fixtures.  

oh well.


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/99be1a12-04a8-4e5c-af0f-f39fb61d0353%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anderson Mills

unread,
Sep 6, 2014, 2:12:54 PM9/6/14
to puppet...@googlegroups.com
There is a fix for this in a PR associated with Puppet Labs jira ticket PUP-3191 (https://tickets.puppetlabs.com/browse/PUP-3191), which should be included in Puppet 3.7.1.

The repo of this module doesn't seem to include those bad symlinks: https://github.com/gini/puppet-archive
so, maybe the author would be willing to republish? 
Reply all
Reply to author
Forward
0 new messages