aboutsummaryrefslogtreecommitdiffstats
path: root/modules/epoll
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-05 00:58:36 +0000
committerMichael Scherer <misc@mageia.org>2010-11-05 00:58:36 +0000
commit92d21a733d273bc596f02cb8128a648fe84483f2 (patch)
tree85412ca0487f1a35e9aed5e1ffdee63d914ee33b /modules/epoll
parent91caca2432203e531ec0c78e915b536bfe0e725f (diff)
downloadpuppet-92d21a733d273bc596f02cb8128a648fe84483f2.tar
puppet-92d21a733d273bc596f02cb8128a648fe84483f2.tar.gz
puppet-92d21a733d273bc596f02cb8128a648fe84483f2.tar.bz2
puppet-92d21a733d273bc596f02cb8128a648fe84483f2.tar.xz
puppet-92d21a733d273bc596f02cb8128a648fe84483f2.zip
- refactor the domain name
Diffstat (limited to 'modules/epoll')
-rw-r--r--modules/epoll/manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/epoll/manifests/init.pp b/modules/epoll/manifests/init.pp
index 932d16ad..40acc331 100644
--- a/modules/epoll/manifests/init.pp
+++ b/modules/epoll/manifests/init.pp
@@ -2,13 +2,14 @@ class epoll {
include apache::mod_fcgid
+ $vhost = "epoll.$domain"
package { 'Epoll':
ensure => installed
}
# add a apache vhost
- file { "epoll.$domain.conf":
- path => "/etc/httpd/conf/vhosts.d/$name.$domain.conf",
+ file { "$vhost.conf":
+ path => "/etc/httpd/conf/vhosts.d/$vhost.conf",
ensure => "present",
owner => root,
group => root,