How to enable/create environments for new puppetserver setup (not puppetmaster)

119 views
Skip to first unread message

Gene Fontanilla

unread,
Jul 23, 2015, 2:29:35 AM7/23/15
to Puppet Users
Hi Puppet users,

I am testing out the new puppetserver vs the apache/passenger setup for the master,
problem is that when i created a new environment I am unable to start puppetserver.

Anything i need to know?

checking the logs the main error i keep on getting is


ERROR [puppet-server] /File[/etc/puppet/modules/production]/ensure change from absent to directory failed: Could not set 'directory' on ensure: Permission denied - /etc/puppet/modules/production
2015-07-23 14:26:34,427
 
ERROR [p.t.internal] shutdown-on-error triggered because of exception!


Thanks! and regards
Gene

Kevin Corcoran

unread,
Jul 23, 2015, 12:51:15 PM7/23/15
to puppet...@googlegroups.com
Hi Gene,

That looks like a problem with the permissions on that directory.  I'd start by making sure that the 'puppet' user has read permissions on /etc/puppet/modules/production.

- Kevin

Gene Fontanilla

unread,
Jul 24, 2015, 3:38:17 AM7/24/15
to Puppet Users, kevin.c...@puppetlabs.com
Hi kevin,

I already tried changing the ownership to puppet:puppet, and even change file permission to 777 just to be sure, I still get the same error,
I also noticed that all puppet files are owned by root upon installation.

Regards,
Gene
Reply all
Reply to author
Forward
0 new messages