diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-05 00:58:36 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-05 00:58:36 +0000 |
commit | 92d21a733d273bc596f02cb8128a648fe84483f2 (patch) | |
tree | 85412ca0487f1a35e9aed5e1ffdee63d914ee33b | |
parent | 91caca2432203e531ec0c78e915b536bfe0e725f (diff) | |
download | puppet-92d21a733d273bc596f02cb8128a648fe84483f2.tar puppet-92d21a733d273bc596f02cb8128a648fe84483f2.tar.gz puppet-92d21a733d273bc596f02cb8128a648fe84483f2.tar.bz2 puppet-92d21a733d273bc596f02cb8128a648fe84483f2.tar.xz puppet-92d21a733d273bc596f02cb8128a648fe84483f2.zip |
- refactor the domain name
-rw-r--r-- | modules/epoll/manifests/init.pp | 5 |
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, |