Ask Your Question

Is it possible to have multiple module versions installed?

asked 2014-03-05 18:26:46 -0500

Is it possible to have multiple module versions installed on a puppet master? My use case is module A & B require stdlib. Module A requires 3.2.0 and B requires > 4.1.0. In this case, they are both in the same environment. Is there a way to have both on my puppet master simultaneously? I can't do an install from puppet cli and upgrading it gives me a dependency error or will wipe out the current version ( --force.) An install with a modulepath that didn't contain the existing version didn't work for the same reason ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-05 21:57:35 -0500

ramindk gravatar image

I think you'll run into problems with type/provider pollution between environments within a single Puppet application. I wish I had a link to point to, but the problem is that types, providers, and functions can be cached from one environment and served in another.

The simplest solution would be to edit module A to also use stdlib 4.1.0. You can view the difference between the releases yourself with the following commands.

git clone
cd puppetlabs-stdlib
git diff 3.x 4.1.0 lib/puppet/parser/functions/

The majority of changes ... (more)

edit flag offensive delete link more

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: 2014-03-05 18:26:46 -0500

Seen: 501 times

Last updated: Mar 05 '14