Closed alex-harvey-z3q closed 3 years ago
Workaround:
[root@centos-72-x64 ~]# /opt/puppetlabs/puppet/bin/gem install activesupport --no-ri --no-rdoc
Fetching: activesupport-4.2.6.gem (100%)
Successfully installed activesupport-4.2.6
1 gem installed
[root@centos-72-x64 ~]# /opt/puppetlabs/puppet/bin/gem install librarian-puppet --no-ri --no-rdoc
Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Fetching: activemodel-4.2.6.gem (100%)
Successfully installed activemodel-4.2.6
Fetching: multipart-post-2.0.0.gem (100%)
Successfully installed multipart-post-2.0.0
Fetching: faraday-0.9.2.gem (100%)
Successfully installed faraday-0.9.2
Fetching: multi_json-1.11.2.gem (100%)
Successfully installed multi_json-1.11.2
Fetching: her-0.6.8.gem (100%)
Successfully installed her-0.6.8
Fetching: puppet_forge-1.0.5.gem (100%)
Successfully installed puppet_forge-1.0.5
Fetching: librarian-puppet-2.2.1.gem (100%)
Successfully installed librarian-puppet-2.2.1
8 gems installed
@alexharv074, the real workaround:
# Build the forked and fixed version of librarian puppet until the
# published RubyGem is reflective of the actively maintained repo
cd /usr/local/src
# Clone the repo
git clone https://github.com/voxpupuli/librarian-puppet.git
# Build the gem
cd librarian-puppet && gem build librarian-puppet.gemspec
# Install the gem
gem install --no-ri --no-rdoc librarian-puppet-2.2.1.gem
# Clean up
cd .. && rm -rf librarian-puppet
What you're doing is circumventing the issue. The RubyGem's version uses the old puppet forge, you need to build the master branch of this repo.
All I need right now is to install Librarian-puppet, and thanks for explaining what the underlying issue is.
Should be fixed with https://github.com/voxpupuli/librarian-puppet/pull/1
Yes #1 fixes it but only in this repo, it still requires the gem to be built and installed manually as it's not published to RubyGems.
When #3 is finished it should work as expected.
This is on the latest Puppet Labs CentOS 7 vagrant box: