Hi there,
pretty new to puppet so I'm guessing this is something simple. I'm trying 
to set up an apache virtual host that simply acts as a proxy to push all 
traffic on port 80 to a servlet running on 8080. I have this working on a 
non puppet managed server with this virtual host:

<VirtualHost *:80>
  ServerAdmin webmaster@localhost
  ServerName ci.company.com
  ServerAlias ci
  ProxyRequests Off
  <Proxy *>
    Order deny,allow
    Allow from all
  </Proxy>
  ProxyPreserveHost on
  ProxyPass / http://localhost:8080/
</VirtualHost> 

The best I've managed so far using puppet is with this:

apache::vhost { 'ci.spex.com':
  port    => '80',
  proxy_pass => { 'path' => '/', 'url' => 'http://localhost:8080/'},
  docroot => '/some/path',
  default_vhost => true,
}

This works, but I'm curious what value I should set for docroot? As all 
traffic is proxied, I (believe) the value is irrelevant. Is there a way to 
tell the puppet module to not write out a docroot?

Cheers!

Paul

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/cb6737cb-cb64-471c-863d-d08b6bcc8cf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to