Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Questions regarding Puppet with httpd.conf

Strange behavior by service
(49 lines)
require equivalent in Ruby DSL
(21 lines)
Feb 8, 2012
The_fonz
The_fonz
Hi,

I'd like to start using Puppet to manage an httpd.conf file across
several webservers. I have a Puppet server and client config setup and
have followed a couple of simple "How To's" to get off the ground. I'm
syncing a couple of files and ensuring certain packages are installed
etc on the client.

Now, here 's where I'm stuck... what happens if the httpd.conf file is
slightly different on each webserver? For example, each httpd.conf
file has multiple Virtual Host entries that are defined by the
webservers IP. <VirtualHost 10.3.200.131:80> for example.

How do I manage one httpd.conf file from the Puppet server given the
VirtualHost IP's will be different on each server? I guess I just want
to "taylor" the http.conf file for each weberserver but manage it from
the Puppet Server.

If anyone can give me a few pointers it would be appreciated.

Thanks,





Reply
Tags: client configwebserverspuppethttpd
Messages in this thread
Questions regarding Puppet with httpd.conf
puppet.conf questions
December 29, 2011 11:16:26 AM
I'm testing puppet 2.6.2 (debian) in ec2. I had two questions- 1. Does anyone know why I can't see any ec2 variables from facter in my instance? I'm running facter --puppet in my instance 2. I'm using certname=webserver01 in my puppet.conf /w…
svn commit: r954816 - in /httpd/httpd/trunk/docs/conf/extra: httpd-autoindex.conf.in httpd-dav.conf.
June 15, 2010 06:05:13 AM
Author: rjung Date: Tue Jun 15 11:05:13 2010 New Revision: 954816 URL: http://svn.apache.org/viewvc?rev=954816&view=rev Log: Update comment about required modules in extra configuration files. Mostly adding the information to the vhost and…
svn commit: r1132790 - in /httpd/httpd/trunk/docs/conf/extra: httpd-dav.conf.in httpd-userdir.conf.i
June 6, 2011 04:41:04 PM
Author: sf Date: Mon Jun 6 21:40:41 2011 New Revision: 1132790 URL: http://svn.apache.org/viewvc?rev=1132790&view=rev Log: Use Require method instead of deprecated Limit/LimitExcept Modified: …
svn commit: r1203752 - in /httpd/httpd/trunk/docs: conf/extra/httpd-ssl.conf.in manual/ssl/ssl_howto
November 18, 2011 11:17:47 AM
Author: kbrand Date: Fri Nov 18 17:17:20 2011 New Revision: 1203752 URL: http://svn.apache.org/viewvc?rev=1203752&view=rev Log: Change the SSLCipherSuite default to a shorter, whitelist oriented definition, and add an example for a…
svn commit: r1041011 - in /httpd/httpd/trunk/docs: conf/httpd.conf.in manual/misc/security_tips.xml
December 1, 2010 07:54:52 AM
Author: igalic Date: Wed Dec 1 13:52:56 2010 New Revision: 1041011 URL: http://svn.apache.org/viewvc?rev=1041011&view=rev Log: pr#50371 no more pcre Modified: httpd/httpd/trunk/docs/conf/httpd.conf.in …
svn commit: r1042446 - /httpd/httpd/trunk/docs/conf/extra/httpd-manual.conf.in
December 5, 2010 03:03:17 PM
Author: nd Date: Sun Dec 5 21:02:52 2010 New Revision: 1042446 URL: http://svn.apache.org/viewvc?rev=1042446&view=rev Log: add danish language Modified: httpd/httpd/trunk/docs/conf/extra/httpd-manual.conf.in Modified:…
svn commit: r1059054 - /httpd/httpd/trunk/docs/conf/extra/httpd-vhosts.conf.in
January 14, 2011 10:09:50 AM
Author: rbowen Date: Fri Jan 14 16:09:18 2011 New Revision: 1059054 URL: http://svn.apache.org/viewvc?rev=1059054&view=rev Log: Remove NameVirtualHost, as it causes a startup warning. Modified: …
svn commit: r1080109 - /httpd/httpd/trunk/docs/conf/extra/httpd-manual.conf.in
March 9, 2011 08:34:18 PM
Author: rbowen Date: Thu Mar 10 02:33:56 2011 New Revision: 1080109 URL: http://svn.apache.org/viewvc?rev=1080109&view=rev Log: Adds the simplified chinese translation to the default manual configuration file. Modified: …
svn commit: r1227293 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS docs/conf/extra/httpd-ssl.conf
January 4, 2012 02:11:28 PM
Author: sf Date: Wed Jan 4 20:10:40 2012 New Revision: 1227293 URL: http://svn.apache.org/viewvc?rev=1227293&view=rev Log: mod_ssl: Update default config (SSLProtocol, SSLCipherSuite, MSIE pattern) Reviewed by: Kaspar Brand, Rainer Jung, Joe…
svn commit: r1165058 - in /httpd/test/framework/trunk/t/conf/ssl: proxyssl.conf.in ssl.conf.in
September 4, 2011 11:00:52 AM
Author: kbrand Date: Sun Sep 4 16:00:05 2011 New Revision: 1165058 URL: http://svn.apache.org/viewvc?rev=1165058&view=rev Log: add {SSL,SSLProxy}CARevocationCheck option (introduced with r1165056) for versions 2.3.15 and later Modified: …
svn commit: r966055 - /httpd/httpd/trunk/docs/conf/extra/httpd-ssl.conf.in
July 20, 2010 06:33:18 PM
Author: gstein Date: Tue Jul 20 23:33:18 2010 New Revision: 966055 URL: http://svn.apache.org/viewvc?rev=966055&view=rev Log: Fix up some SSL configuration, per issue #49484. IE6 had a hotfix released for this problem quite a while back (see…
svn commit: r1132793 - /httpd/httpd/trunk/docs/conf/extra/httpd-ssl.conf.in
June 6, 2011 04:46:38 PM
Author: sf Date: Mon Jun 6 21:46:14 2011 New Revision: 1132793 URL: http://svn.apache.org/viewvc?rev=1132793&view=rev Log: Make the MSIE BrowserMatch regexp fit for MSIE 10. Remove useless '.*' Modified: …
svn commit: r966160 - in /httpd/httpd/trunk: CHANGES docs/conf/extra/httpd-ssl.conf.in
July 21, 2010 04:54:59 AM
Author: rjung Date: Wed Jul 21 09:54:59 2010 New Revision: 966160 URL: http://svn.apache.org/viewvc?rev=966160&view=rev Log: Update SSL cipher suite and add example for SSLHonorCipherOrder. Modified: httpd/httpd/trunk/CHANGES …
Re: svn commit: r966055 - /httpd/httpd/trunk/docs/conf/extra/httpd-ssl.conf.in
July 21, 2010 05:59:30 AM
+SSLCipherSuite RC4-SHA:AES128-SHA:ALL:!ADH:!EXP:!LOW:!MD5:!SSLV2:!NULL Reminds me a bit of: http://journal.paul.querna.org/articles/2010/07/10/overclocking-mod_ssl/ Can't we simplify that to: SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:!ADH:!MD5 …
svn commit: r1135234 - in /httpd/httpd/trunk: CHANGES docs/conf/extra/httpd-ssl.conf.in
June 13, 2011 02:22:21 PM
Author: sf Date: Mon Jun 13 19:21:57 2011 New Revision: 1135234 URL: http://svn.apache.org/viewvc?rev=1135234&view=rev Log: Disable AECDH ciphers in example config by using !aNULL (which includes all ciphers without authentication. PR: 51363…
svn commit: r955033 - /httpd/httpd/trunk/docs/conf/extra/httpd-mpm.conf.in
June 15, 2010 03:08:49 PM
Author: rjung Date: Tue Jun 15 20:08:49 2010 New Revision: 955033 URL: http://svn.apache.org/viewvc?rev=955033&view=rev Log: Add a configuration block for Event MPM. Event is now the default MPM for many platforms, so we should provide an…
svn commit: r1203753 - in /httpd/httpd/branches/2.4.x: CHANGES docs/conf/extra/httpd-ssl.conf.in doc
November 18, 2011 11:18:56 AM
Author: kbrand Date: Fri Nov 18 17:18:31 2011 New Revision: 1203753 URL: http://svn.apache.org/viewvc?rev=1203753&view=rev Log: merge r1203752 from trunk: Change the SSLCipherSuite default to a shorter, whitelist oriented definition, and add…
svn commit: r1135286 - /httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in
June 13, 2011 04:17:09 PM
Author: sf Date: Mon Jun 13 21:13:08 2011 New Revision: 1135286 URL: http://svn.apache.org/viewvc?rev=1135286&view=rev Log: Update redirect-carefully workaround for WebDAVFS 1.4, Konqueror 4.x PR: 43031 Submitted by: Hans de Graaff, Stefan…
svn commit: r1178695 - /httpd/httpd/trunk/docs/conf/extra/httpd-ssl.conf.in
October 4, 2011 01:08:49 AM
Author: kbrand Date: Tue Oct 4 06:08:02 2011 New Revision: 1178695 URL: http://svn.apache.org/viewvc?rev=1178695&view=rev Log: Add SSLCARevocationCheck directive to default mod_ssl config Modified: …
svn commit: r1201161 - in /httpd/httpd/branches/2.4.x: CHANGES docs/conf/extra/httpd-mpm.conf.in doc
November 11, 2011 07:57:50 PM
Author: sf Date: Sat Nov 12 01:57:26 2011 New Revision: 1201161 URL: http://svn.apache.org/viewvc?rev=1201161&view=rev Log: Merge r1201158 from trunk: Set MaxMemFree 2048 by default Modified: httpd/httpd/branches/2.4.x/CHANGES …
Need help with apache2 httpd.conf
April 26, 2011
Ok, the problem is presented like this: I have a single IP (123.123.123.123) I have multiple domains I work with subdomains for testing So basically…
Is it possible to use variables in httpd.conf
January 13, 2011
Is there a way to use variables of some sort in an apache httpd.conf file? I'd like to define a value and use it throughout a block, as in define…
Redirect non www to www using httpd.conf
February 28, 2011
Is it possible to redirect from the non www version to my website to the www version of the website using httpd.conf ?
Htaccess vrs httpd.conf?
April 11, 2011
Is it still true that you shouldn't use htaccess files if you can use httpd.conf? The Apache site says "In general, you should never use .htaccess…
Non www to www using httpd.conf - // error
May 25, 2011
When I use RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com RewriteRule (.*) http://www.example.com/$1 [R=301,L] in my httpd.conf file, why is…
Apache httpd.conf: Set url to directory
June 13, 2011
I would simply like to make the url 10.23.45.67/folder set to /var/www/subdomain Is this an easy thing to do in httpd.conf?
Wildcard in httpd conf file?
January 17, 2011
Here is an example httpd config I'm currently using: <VirtualHost 123.123.123.123:80> ServerName mysite.com ServerAlias www.mysite.com…
Simplify httpd.conf file
April 29, 2011
Any suggestions on how to simplify my httpd.conf file? I've stripped out everything but the relevant portions: Listen <ip-addr-1>:80 Listen…
Lampp on Ubuntu - httpd.conf
February 4, 2011
Hey, I've got Lampp installed in Ubuntu and I want to get .htaccess working but I don't know how. And, yes, I have searched all over google. Cheers,
What is the Expire on apache httpd.conf
February 9, 2011
I'd like to set the following: ExpiresActive On ExpiresByType application/x-flash-swf "access plus 1 days" ExpiresByType…
Integrating a .htaccess into a httpd.conf
April 11, 2011
I'vee got the following htaccess file in /connect folder and I need to integrate this into an httpd.conf file (which has commands already):…
Httpd-vhosts.conf - Why does this work?
March 17, 2011
I'm running Apache 2.28 on Windows 7, and this is my directory structure: C:/ www (which contains the Apache server, it's the free Web-Developer…
Forcing WWW with httpd.conf rather than .htaccess
March 31, 2011
Hello, I've read up on many Force WWW. tricks using htaccess. (As Below) Rewritecond %{HTTP_HOST} !^www\.myrepospace\.com RewriteRule (.*)…
How to speed up a server using netstat & httpd.conf?
April 28, 2011
Hello, I'm using netstat commands to help optimize my httpd.conf correctly. Here are the results: netstat -an | grep -c :80 579 netstat -anp |grep…
Apache httpd.conf file missing
May 13, 2011
I've looked on etc/apache/httpd.conf /etc/httpd/conf/http.conf /etc/httpd/http.conf Is there somewhere else where this file can be?? Am I missing…
Httpd.conf match absolute file
April 23, 2011
Hi, I have the following directory statement in my httpd.conf for a virtualhost. <Directory c:/foo/bar/*/*/baz> <Files index.php> #…
Apache windows .httpd.conf not contain AccessFileName
April 19, 2011
Hi, I am using apache 2.2.17 for windows. To set up .htaccess file, when i was going through httpd.conf file, i was not able to find the word called…
Starting apache2 with custom httpd.conf
February 3, 2011
Is there a way how to start apache using apachectl and passing a path to a non-default httpd.conf to it? I would like to avoid messing with the…
HTML5 Boilerplate .htaccess vs httpd.conf
April 2, 2011
I'd like to start off by saying I am really new to working with apache, so please don't hold it against me. The HTML5 Boilerplate comes with a…
Reading httpd.conf variables from Java
February 1, 2011
Hi, Within the httpd.conf file there is the following line: CustomLog "logs/access.log" combined this defines the location of were the log file is…