Giter Club home page Giter Club logo

Comments (9)

acidprime avatar acidprime commented on September 26, 2024

Hi can you confirm what version of puppet you are using, this reminds me of a bug in the gem provider from a while back.

Also in the interim, I would suggest just using the config class if you dont want to handle the installation, you can see an example in the r10k class.

https://github.com/acidprime/r10k/blob/master/manifests/init.pp#L41-L52

Also when you say "Puppet package class." is the only difference the ensure => installed line vs ensure => 1.3.1

from puppet-r10k.

acidprime avatar acidprime commented on September 26, 2024

Here is the bug I was thinking of : https://projects.puppetlabs.com/issues/13397

from puppet-r10k.

acidprime avatar acidprime commented on September 26, 2024

seems simliar to #55

from puppet-r10k.

acidprime avatar acidprime commented on September 26, 2024

@fcntl bump, any update on what version of puppet you were using, this issue does not seem widespread so just want to identify the factors

from puppet-r10k.

acidprime avatar acidprime commented on September 26, 2024

worth mentioning here that you don't have to declare r10k, and could simple just declare r10k::config

from puppet-r10k.

eoly avatar eoly commented on September 26, 2024

I'm running Puppet v3.7.2 on CentOS 7:

Wrapped exception:
Execution of '/usr/bin/gem install -v 1.3.4 --no-rdoc --no-ri r10k ' returned 1: ERROR:  Can't use --version w/ multiple gems. Use name:ver instead.
Error: /Stage[main]/R10k::Install/Package[r10k]/ensure: change from absent to 1.3.4 failed: Could not update: Execution of '/usr/bin/gem install -v 1.3.4 --no-rdoc --no-ri r10k ' returned 1: ERROR:  Can't use --version w/ multiple gems. Use name:ver instead.

from puppet-r10k.

 avatar commented on September 26, 2024

@acidprime was always the latest version of Puppet at the time, probably 3.7.1 or 3.7.2. RHEL6.5.

from puppet-r10k.

elyscape avatar elyscape commented on September 26, 2024

@fcntl, what version of Ruby are you running on your puppet master?

from puppet-r10k.

acidprime avatar acidprime commented on September 26, 2024

This is likely going to be needed for v3 anyway due to some PE changes.

from puppet-r10k.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.