On Thu, Jul 16, 2009 at 6:15 PM, Marc Fournier <marc.fourn...@camptocamp.com
> wrote:

>
> Is it required to have the "apache" user in group "puppet" ? I can't find
> apache2::passenger ?
>
Not really, its there because of other non related reasons...

just for completeness:
class apache2::passenger {
# Package is avail be only for GI5
  package{"rubygem-passenger":
    ensure => "2.2.2-1",
    require => Package["httpd"],
    before => Service["httpd"],
  }
  file{"/etc/httpd/conf.d/passenger.conf":
    source => "puppet:///apache2/push/etc/httpd/conf.d/passenger.conf",
    mode => 644, owner=> root, group => root,
    notify => Exec["reload-apache2"],
  }
}
cat apache2/files/push/etc/httpd/conf.d/passenger.conf
LoadModule passenger_module
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.2
PassengerRuby /usr/bin/ruby
PassengerMaxPoolSize 15
PassengerMaxRequests 3000
PassengerStatThrottleRate 600

 Ohad

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to