Ask Your Question
0

Created new environment but it does not appear in PE Console drop down

asked 2016-08-21 12:41:10 -0500

kartikv gravatar image

Hi,

I followed the instructions here: https://docs.puppet.com/puppet/4.5/re... to create a new environment called "development". [root@test227 ~]# puppet config print modulepath --section master --environment development /etc/puppetlabs/code/environments/development/modules:/etc/puppetlabs/code/modules:/opt/puppetlabs/puppet/modules [root@test227 ~]# kill -HUP pgrep -f puppet-server [root@test227 ~]#

But the new environment does not appear in the PE Console drop down of "environments" while trying to add a new node group.

Please advise.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-08-21 13:31:46 -0500

kartikv gravatar image

My bad, the directory structure has to be owned by pe-puppet:pe-puppet, did: chown -R pe-puppet:pe-puppet /etc/puppetlabs/code/environments/development/ followed by: kill -HUP `pgrep -f puppet-server and now it is visible in PE console

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

Stats

Asked: 2016-08-21 12:41:10 -0500

Seen: 67 times

Last updated: Aug 21 '16