Ask Your Question

setting up dynamic environments

asked 2013-01-07 14:35:35 -0500

thewellington gravatar image

I am trying to set up dynamic environments using as a guide. Unfortunately I am not entirely clear on what I am doing.

I have created a directory on the puppet master at /etc/puppetlabs/puppet/environments/

I have copied the configuration examples from the document above to the puppet.conf file on my puppet master. I added the three lines in each section of the document to the respective section of the puppet.conf file, and made changes to suit my system (paths, etc...) Prior to these changes I was working with the default-post-installation ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-01-07 15:18:49 -0500

llowder gravatar image

In Puppet Enterprise there are a number of modules that must be present for things to work properly.

You will need to either copy them into the $modulepath for every environment, OR add the default path into the per environment path.

The default modulepath for Puppet Enterprise is (according to documentation) /etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules.

You will need to add this to your environments, such as:

modulepath = /etc/puppet/environments/production/modules:/etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules

I would recommend just using a single modulepath set in your [master] section, as ... (more)

edit flag offensive delete link more


Are you interested in posting the same answer over at If not, I will copy and paste it over there. --Bill

thewellington gravatar imagethewellington ( 2013-01-07 16:44:58 -0500 )edit

I've posted the answer over there as well.

llowder gravatar imagellowder ( 2013-01-07 16:47:51 -0500 )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


Asked: 2013-01-07 14:35:35 -0500

Seen: 573 times

Last updated: Jan 07 '13