Ask Your Question

Best way to install multiple versions of a module?

asked 2013-10-15 13:52:48 -0600

michaelhorka gravatar image

We are trying to configure particular servers in our infrastructure with more than one version of some packages. We have been trying to figure out the best way to go about achieving this. An example would explain better:

We want IE 8, 9 and 10 and Chrome 27 and 28 (just examples) installed on a server to test our web apps. We have a node with a yaml config as follows:


  - module
  - othermodule
  - ie8
  - ie9
  - ie10
  - chrome27
  - chrome28
module::version: '5.2'
othermodule::version: '6.7'

For most of our modules we use parameterized classes and pass ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-15 14:00:08 -0600

GregLarkin gravatar image

updated 2013-10-17 13:06:56 -0600

Is the module version number included in the title for each module declaration? As long as you make the title unique, you can declare it multiple times. Based on your follow-up comment, I would suggest doing something like this:

  - module
  - othermodule
  - ie
  - chrome
  - '8'
  - '9'
  - '10'
  - '26'
  - '27'
  - '5.2'
  - '5.4'
  - '6.7'
  - '6.8'
  - '6.9'

With one parameter declared in your Hiera data, Puppet 3.x will pass it to the declared class automatically, unlike in Puppet <3.x where you had to call Hiera functions directly.

Now ... (more)

edit flag offensive delete link more


The example I posted is what we are currently implementing. It works just fine. However, what I was hoping for is a way to pull the version number out of ...(more)

michaelhorka gravatar imagemichaelhorka ( 2013-10-17 08:08:58 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-10-15 13:52:48 -0600

Seen: 929 times

Last updated: Oct 17 '13