/[adm]/puppet/modules/epoll/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/epoll/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 125 by misc, Fri Nov 5 01:09:41 2010 UTC revision 168 by misc, Fri Nov 5 23:41:36 2010 UTC
# Line 1  Line 1 
1  class epoll {  class epoll {
2    
     include apache::mod_fastcgi  
   
3      $vhost = "epoll.$domain"      $vhost = "epoll.$domain"
4    
5      package { 'Epoll':      package { 'Epoll':
6          ensure => installed          ensure => installed
7      }      }
8        
9      # add a apache vhost      apache::vhost_catalyst_app { $vhost:
10      file { "$vhost.conf":          script => /usr/bin/epoll_fastcgi.pl
         path => "/etc/httpd/conf/vhosts.d/$vhost.conf",  
         ensure => "present",  
         owner => root,  
         group => root,  
         mode => 644,  
         notify => Service['apache'],  
         content => template("epoll/epoll_vhost.conf")  
11      }      }
12        
13      $password = extlookup("epoll_password")      $password = extlookup("epoll_password")
14    
15      file { "epoll.yml":      file { "epoll.yml":

Legend:
Removed from v.125  
changed lines
  Added in v.168

  ViewVC Help
Powered by ViewVC 1.1.30