diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-05 23:41:36 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-05 23:41:36 +0000 |
commit | e7446275c1f5198a0f9c0e0aec8231d266beff8c (patch) | |
tree | ae5de3381f37628efc13943f89f48e1d7685486b /modules/epoll/manifests | |
parent | b2209850b0659eb299632c54ece079477fc50246 (diff) | |
download | puppet-e7446275c1f5198a0f9c0e0aec8231d266beff8c.tar puppet-e7446275c1f5198a0f9c0e0aec8231d266beff8c.tar.gz puppet-e7446275c1f5198a0f9c0e0aec8231d266beff8c.tar.bz2 puppet-e7446275c1f5198a0f9c0e0aec8231d266beff8c.tar.xz puppet-e7446275c1f5198a0f9c0e0aec8231d266beff8c.zip |
- refactor catalyst application config using a common class ( catdap is next )
Diffstat (limited to 'modules/epoll/manifests')
-rw-r--r-- | modules/epoll/manifests/init.pp | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/modules/epoll/manifests/init.pp b/modules/epoll/manifests/init.pp index cd1349fa..af0466b2 100644 --- a/modules/epoll/manifests/init.pp +++ b/modules/epoll/manifests/init.pp @@ -1,23 +1,15 @@ class epoll { - include apache::mod_fastcgi - $vhost = "epoll.$domain" + package { 'Epoll': ensure => installed } - - # add a apache vhost - file { "$vhost.conf": - 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") + + apache::vhost_catalyst_app { $vhost: + script => /usr/bin/epoll_fastcgi.pl } - + $password = extlookup("epoll_password") file { "epoll.yml": |