Comments (8)
I'm not really sure what this could be. When extracting the artifact manually with tar, it preserves the sym links. This may be a bug with the puppet module tool instead?
I can direct the puppet module tool to install zack-r10k to a different directory and I get the same result.
from puppet-r10k.
One more thing - in vagrant, this works on CentOS 6.4.
from puppet-r10k.
Can't seem to replicate
puppet module install zack/r10k --debug --version 1.0.2
Notice: Preparing to install into /etc/puppetlabs/puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=zack-r10k
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-stdlib
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-stdlib&limit=20&offset=20
Notice: Found at least one version of puppetlabs-stdlib compatible with PE (3.2.2);
Notice: Skipping versions which don't express PE compatibility. To install
the most recent version of the module regardless of compatibility
with PE, use the '--ignore-requirements' flag.
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-ruby
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-gcc
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-pe_gem
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=mhuffnagle-make
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-inifile
Notice: Found at least one version of puppetlabs-inifile compatible with PE (3.2.2);
Notice: Skipping versions which don't express PE compatibility. To install
the most recent version of the module regardless of compatibility
with PE, use the '--ignore-requirements' flag.
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-vcsrepo
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-git
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=gentoo-portage
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-concat
Notice: Found at least one version of puppetlabs-concat compatible with PE (3.2.2);
Notice: Skipping versions which don't express PE compatibility. To install
the most recent version of the module regardless of compatibility
with PE, use the '--ignore-requirements' flag.
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=ripienaar-concat
Info: Resolving dependencies ...
Info: Preparing to install ...
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/zack-r10k-1.0.2.tar.gz
Debug: Executing 'tar xzf /var/opt/lib/pe-puppet/puppet-module/cache/zack-r10k20140603-10400-gijt7s --no-same-owner -C /var/opt/lib/pe-puppet/puppet-module/cache/tmp-unpacker20140603-10400-nk0ww'
Debug: Executing 'find /var/opt/lib/pe-puppet/puppet-module/cache/tmp-unpacker20140603-10400-nk0ww -type d -exec chmod 755 {} +'
Debug: Executing 'find /var/opt/lib/pe-puppet/puppet-module/cache/tmp-unpacker20140603-10400-nk0ww -type f -exec chmod a-wst {} +'
Debug: Executing 'chown -R 0:0 /var/opt/lib/pe-puppet/puppet-module/cache/tmp-unpacker20140603-10400-nk0ww'
Notice: Installing -- do not interrupt ...
/etc/puppetlabs/puppet/modules
└─┬ zack-r10k (v1.0.2)
├── gentoo-portage (v2.1.0)
├── mhuffnagle-make (v0.0.2)
├── puppetlabs-gcc (v0.1.0)
├── puppetlabs-git (v0.0.3)
├── puppetlabs-inifile (v1.0.0) [/opt/puppet/share/puppet/modules]
├── puppetlabs-pe_gem (v0.0.1)
├── puppetlabs-ruby (v0.1.0)
├── puppetlabs-stdlib (v3.2.0) [/opt/puppet/share/puppet/modules]
└── puppetlabs-vcsrepo (v0.2.0)
3.4.3 (Puppet Enterprise 3.2.2)
from puppet-r10k.
if you are still having issues I would probobly just clone the module from github and file a bug with the puppet module tool with the PE support team
from puppet-r10k.
What OS are you running this on? If you want I could send you a
Vagrantfile to reproduce this. It won't work on CentOS or RHEL 6.4 for
me.
Brett
On Tue, Jun 3, 2014 at 1:52 PM, Zack Smith [email protected] wrote:
Closed #43 https://github.com/acidprime/r10k/issues/43.
—
Reply to this email directly or view it on GitHub
https://github.com/acidprime/r10k/issues/43#event-127639608.
from puppet-r10k.
@brettswift
've been speaking with the puppet forge team about this, and it looks like it may in fact be a bug introduced in PE 3.2.1. There's an issue for it on our internal tracker as well, created by the forge team.
Essentially, it occurs when a module takes "too long" to download. Either due to a slow network connection, or a large module, or forge performance degradation (although hopefully it's rarely that last one!).
Currently, the only known "workaround" is to download the module tarball and install it directly. E.g. something like:
wget https://forgeapi.puppetlabs.com/v3/files/zack-r10k-1.0.2.tar.gz
puppet module install zack-r10k-1.0.2.tar.gz
It will still reach out to the network to download the dependencies, and that should succeed.
If even that fails you can install the module with --ignore-dependencies, and it won't need to reach out to the forge at all during the command's execution, but you'll then have to manually install the module's dependencies.
from puppet-r10k.
Thanks for the update. Right now I did a manual install of dependencies and then just an untar of the module. I didn't realize that you could use the module tool on the tar file.
As a complete side note - the forge seemed to have forwarded their http API to an https API last night - which actually broke my server bootstrap script as I didn't have the no-check-certificate option on my wget call. Not a big problem though.
Thanks again! I'll monitor this issue.
Brett
Sent from my iPhone
On Jun 12, 2014, at 19:45, Zack Smith [email protected] wrote:
@brettswift
've been speaking with the puppet forge team about this, and it looks like it may in fact be a bug introduced in PE 3.2.1. There's an issue for it on our internal tracker as well, created by the forge team.Essentially, it occurs when a module takes "too long" to download. Either due to a slow network connection, or a large module, or forge performance degradation (although hopefully it's rarely that last one!).
Currently, the only known "workaround" is to download the module tarball and install it directly. E.g. something like:
wget https://forgeapi.puppetlabs.com/v3/files/zack-r10k-1.0.2.tar.gz
puppet module install zack-r10k-1.0.2.tar.gz
It will still reach out to the network to download the dependencies, and that should succeed.If even that fails you can install the module with --ignore-dependencies, and it won't need to reach out to the forge at all during the command's execution, but you'll then have to manually install the module's dependencies.
Sorry you were bit by this! I'm making a note to engineering that you were affected by this, and would like to see the bug resolved.
—
Reply to this email directly or view it on GitHub.
from puppet-r10k.
I am seeing this as well with PE 3.2.3, I have also downloaded and attempted to install from tar, both with and without --ignore-dependencies flag. The error I am getting is SLIGHTLY different.
Error: No such file or directory - /etc/puppetlabs/puppet/modules/r10k/spec/fixtures/modules/r10k/templates
from puppet-r10k.
Related Issues (20)
- vcsrepo is outdated - latest 6.x.x, requires < 3.0.0
- webhook: add support for verifying X-Gitlab-Token
- Remove dependence on old puppetlabs-git module
- Remove dependency on puppetlabs/ruby module HOT 1
- Support Bitbucket webhook pull request event type
- CLI arguments --no-ri and --no-rdoc have been deprecated since Ruby 2.6.0
- webhook pulling wrong version of git repo HOT 1
- Enhancement Request: Support ignore_branch_prefixes in config hash / seperate HOT 1
- updates on existing unit file fail to restart service due to missing systemctl daemon-reload HOT 2
- Docs wrong for mcollective "deploy" command?
- Webhook incorrectly reports success on `ping` event from GitHub with invalid secret
- Webhook-go url is hardcoded HOT 1
- Please clarify the instructions for integrating abrader-gms webhook type into this module HOT 4
- Request for comment on refactoring HOT 3
- wrong dependencies for version 12.1.0 and 12.0.0? HOT 2
- Webhook in v11 non functional, v12 incompatible
- Webhook go ordering manages service prior installing package
- webhook configuration default location - `/etc/voxpupuli` does not exist
- Documentation is totally wrong for webhook-go
- Installing r10k Returns Error: Last Version of faraday (~> 2.0) to support your Ruby & RubyGems was 3.0.2 then 2.8.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-r10k.