Ask Your Question
0

configuring puppet master server with passenger and apache

asked 2015-11-09 14:36:55 -0500

sandeep gravatar image

I am following configuring puppet master master server with passenger and apache steps from puppetlabs Documents. i was facing trouble in the step " Create and enable the puppet Master Vhost. In that it is specified to do " cp puppetmaster.conf /etc/httpd/conf.d/"

but i dont find puppetmaster.conf anyhwere in my setup. i am assuming it to be puppet.conf. Is my assumption correct? After copying puppet.conf to /etc/httpd/conf.d/ and tried to restart httpld service it failed.

Can someone help me out to fix this? If my assumption is wrong which file should i copy to /etc/httpd/conf.d/?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-11-09 17:46:43 -0500

GregLarkin gravatar image

updated 2015-11-09 23:35:49 -0500

You definitely don't want to copy puppet.conf to the Apache configuration directory. Puppet.conf is used to configure the Puppet components and is not an Apache config file.

The contents of puppetmaster.conf (an Apache config file) are given on the documentation page that you're looking at. Copy the directives from the page and paste them into a file named puppetmaster.conf, place that file in the Apache configuration directory, and you should be all set.

The Apache config file contents are located slightly below this section of the page: https://docs.puppetlabs.com/guides/passenger.html#example-vhost-configuration

edit flag offensive delete link more

Comments

It worked!!! Thanks a lot.

sandeep gravatar imagesandeep ( 2015-11-09 19:25:45 -0500 )edit

Great, glad to hear it!

GregLarkin gravatar imageGregLarkin ( 2015-11-09 23:35:38 -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

1 follower

Stats

Asked: 2015-11-09 14:36:55 -0500

Seen: 59 times

Last updated: Nov 09 '15