github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

reductivelabs / puppet

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 151
    • 49
  • Source
  • Commits
  • Network (49)
  • Issues (0)
  • Downloads (79)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (4)
    • 0.24.x
    • 0.25.x
    • master ✓
    • testing
  • Tags (79)
    • release-0.9.2
    • BetaOne
    • Beta1
    • 0.25.4rc3
    • 0.25.4rc2
    • 0.25.4rc1
    • 0.25.4
    • 0.25.3
    • 0.25.2rc3
    • 0.25.2rc2
    • 0.25.2rc1
    • 0.25.2
    • 0.25.1rc2
    • 0.25.1rc1
    • 0.25.1
    • 0.25.0rc1
    • 0.25.0beta2
    • 0.25.0beta1
    • 0.25.0
    • 0.24.9
    • 0.24.8rc1
    • 0.24.8
    • 0.24.7rc1
    • 0.24.7
    • 0.24.6
    • 0.24.5
    • 0.24.4
    • 0.24.3
    • 0.24.2
    • 0.24.1
    • 0.24.0
    • 0.23.2
    • 0.23.1
    • 0.23.0
    • 0.22.4
    • 0.22.3
    • 0.22.2
    • 0.22.1
    • 0.22.0
    • 0.20.1
    • 0.20.0
    • 0.19.3
    • 0.19.2
    • 0.19.1
    • 0.19.0
    • 0.18.4
    • 0.18.3
    • 0.18.2
    • 0.18.1
    • 0.18.0
    • 0.17.2
    • 0.17.1
    • 0.17.0
    • 0.16.5
    • 0.16.4
    • 0.16.3
    • 0.16.2
    • 0.16.1
    • 0.16.0
    • 0.15.3
    • 0.15.2
    • 0.15.1
    • 0.15.0
    • 0.14.1
    • 0.14.0
    • 0.13.6
    • 0.13.5
    • 0.13.4
    • 0.13.2
    • 0.13.1
    • 0.13.0
    • 0.12.0
    • 0.11.2
    • 0.11.1
    • 0.11.0
    • 0.10.2
    • 0.10.1
    • 0.10.0
    • 0.9.3
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Server automation framework and application — Read more

  cancel

http://reductivelabs.com/trac/puppet/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Merge branch '0.25.x' 
MarkusQ (author)
Tue Feb 09 15:17:53 -0800 2010
commit  27322e5460130b854835aef56ab7076bab83a00b
tree    b69501ce3c7fd616880f60999ad38304a40abba2
parent  70c71c58c1dd038d033d5fdd3fecc8f15b11fd52 parent  71653a74d91b1e6e9845b4a41249861319c0d6b0
puppet / ext / rack
name age
history
message
..
file README Wed Nov 18 08:20:13 -0800 2009 rack: SSL Env vars can only be in Request.env ... [zeha]
directory files/ Wed Jul 29 14:53:27 -0700 2009 Fix #2467 - rack: suggest putting puppet/lib at... [mfournier]
file manifest.pp Fri Jun 05 16:12:00 -0700 2009 Removed extra whitespace from end of lines [ibtaylor]
ext/rack/README
PUPPETMASTER AS A RACK APPLICATION
==================================

puppetmaster can now be hosted as a standard Rack application. A proper
config.ru is provided for this.

For more details about rack, see http://rack.rubyforge.org/ .

Getting started
===============

You'll need rack installed, version 1.0.0. Older versions are known not
to work.


WEBrick
-------

WEBrick is currently not supported as a Rack host. You'll be better off
just running puppetmasterd directly.


Mongrel
-------

If you like Mongrel, and want to replicate wiki:UsingMongrel, you could
probably start your backend mongrels this way:

cd ext/rack
for port in `seq 18140 18150`; do
  rackup --server mongrel --port $port &
done

rackup is part of the rack gem. Make sure it's in your path.



Apache with Passenger (aka mod_rails)
-------------------------------------

Make sure puppetmasterd ran at least once, so the CA & SSL certificates
got set up.

Requirements:
  Passenger version 2.2.2 or 2.2.5 or newer***
  Rack version 1.0.0
  Apache 2.x
  SSL Module loaded

Apache configuration snippet is in files/apache2.conf. You need to
edit it to reflect your servername.

Required puppet.conf settings:
  [puppetmasterd]
    ssl_client_header = SSL_CLIENT_S_DN
    ssl_client_verify_header = SSL_CLIENT_VERIFY

To set up most of the boring stuff, you can use this command:
  puppet --verbose --modulepath ./ext ext/rack/manifest.pp
Or use manifest.pp as a starting point for your own module.

Note: Passenger will not let applications run as root or the Apache user,
instead an implicit setuid will be done, to the user whom owns
config.ru. Therefore, config.ru shall be owned by the puppet user.


*** Important note about Passenger versions:
    2.2.2 is known to work.
    2.2.3-2.2.4 are known to *NOT* work.
    2.2.5 works again when used with Puppet 0.25.2+.
    Passenger installation doc: http://www.modrails.com/install.html

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server