~ubuntu-branches/ubuntu/maverick/puppet/maverick-updates

« back to all changes in this revision

Viewing changes to .pc/debian-changes-2.6.1~rc4-0ubuntu1/ext/rack/files/apache2.conf

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug, Mathias Gug, Stig Sandbeck Mathisen
  • Date: 2010-09-07 10:44:22 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20100907104422-lmhcy8xdjcuem645
Tags: 2.6.1~rc4-0ubuntu1
[ Mathias Gug ]
* New upstream version:
  - Fix "Puppet standalone broken" (Closes: #594575)
* test/lib/puppettest/fakes.rb: Fix puppettest to use puppet system 
  library.

[ Stig Sandbeck Mathisen ]
* Fix "require" path for puppet queue.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# performance settings, from http://reductivelabs.com/trac/puppet/wiki/UsingPassenger
 
2
 
 
3
# Set to 5 min (300 seconds) or less. The shorting this option allows for
 
4
# puppetmasterd to get refreshed at some interval. This option is also
 
5
# somewhat dependent upon the amount of puppetd nodes connecting and at what
 
6
# interval.
 
7
PassengerPoolIdleTime 300
 
8
 
 
9
# to 15% more instances than what's needed. This will allow idle
 
10
# puppetmasterd to get recycled. The net effect is less memory will be used,
 
11
# not more.
 
12
PassengerMaxPoolSize 15
 
13
 
 
14
# Since communication with the puppetmaster from puppetd is a long process
 
15
# (more than 20 seconds in most cases) and will allow for processes to get
 
16
# recycled better
 
17
PassengerUseGlobalQueue on
 
18
 
 
19
# The additional Passenger features for apache compatibility are not needed
 
20
# with Puppet.
 
21
PassengerHighPerformance on
 
22
 
 
23
# Whether Passenger should automatically detect whether a virtual host’s
 
24
# document root is a Rack application. The default is on. Because
 
25
# RackBaseURI is set, this does not need to be on
 
26
RackAutoDetect Off
 
27
 
 
28
# Whether Phusion Passenger should automatically detect whether a virtual
 
29
# host’s document root is a Ruby on Rails application. The default is on.
 
30
RailsAutoDetect Off
 
31
 
 
32
Listen 8140
 
33
 
 
34
<VirtualHost *:8140>
 
35
        SSLEngine on
 
36
        SSLProtocol -ALL +SSLv3 +TLSv1
 
37
        SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
 
38
 
 
39
        SSLCertificateKeyFile /var/lib/puppet/ssl/private_keys/puppetmaster.example.com.pem
 
40
        SSLCertificateFile /var/lib/puppet/ssl/certs/puppetmaster.example.com.pem
 
41
        SSLCACertificateFile /var/lib/puppet/ssl/ca/ca_crt.pem
 
42
        SSLCertificateChainFile /var/lib/puppet/ssl/ca/ca_crt.pem
 
43
        # If Apache complains about invalid signatures on the CRL, you can try disabling
 
44
        # CRL checking by commenting the next line, but this is not recommended.
 
45
        SSLCARevocationFile     /var/lib/puppet/ssl/ca/ca_crl.pem
 
46
        SSLVerifyClient optional
 
47
        SSLVerifyDepth  1
 
48
        SSLOptions +StdEnvVars
 
49
 
 
50
        DocumentRoot /usr/share/puppet/rack/puppetmasterd/public
 
51
        RackBaseURI /
 
52
        <Directory /usr/share/puppet/rack/puppetmasterd/>
 
53
                Options None
 
54
                AllowOverride None
 
55
                Order allow,deny
 
56
                allow from all
 
57
        </Directory>
 
58
</VirtualHost>
 
59