[Mageia-sysadm] [121] - refactor the domain name

root at mageia.org root at mageia.org
Fri Nov 5 01:58:36 CET 2010


Revision: 121
Author:   misc
Date:     2010-11-05 01:58:36 +0100 (Fri, 05 Nov 2010)
Log Message:
-----------
- refactor the domain name

Modified Paths:
--------------
    puppet/modules/epoll/manifests/init.pp

Modified: puppet/modules/epoll/manifests/init.pp
===================================================================
--- puppet/modules/epoll/manifests/init.pp	2010-11-05 00:39:09 UTC (rev 120)
+++ puppet/modules/epoll/manifests/init.pp	2010-11-05 00:58:36 UTC (rev 121)
@@ -2,13 +2,14 @@
 
     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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101105/3cf63745/attachment-0001.html>


More information about the Mageia-sysadm mailing list