aboutsummaryrefslogtreecommitdiffstats
path: root/modules/epoll/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/epoll/manifests/init.pp')
-rw-r--r--modules/epoll/manifests/init.pp18
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":