[Mageia-sysadm] [96] - fix the service name ( as i cannot name it apache, i need to use a alias )

root at mageia.org root at mageia.org
Thu Nov 4 18:42:21 CET 2010


Revision: 96
Author:   misc
Date:     2010-11-04 18:42:21 +0100 (Thu, 04 Nov 2010)
Log Message:
-----------
- fix the service name ( as i cannot name it apache, i need to use a alias )

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

Modified: puppet/modules/apache/manifests/init.pp
===================================================================
--- puppet/modules/apache/manifests/init.pp	2010-11-04 17:14:35 UTC (rev 95)
+++ puppet/modules/apache/manifests/init.pp	2010-11-04 17:42:21 UTC (rev 96)
@@ -5,10 +5,10 @@
             ensure => installed
         }
     
-        service { apache: 
+        service { httpd: 
+            alias => apache,
             ensure => running,
             subscribe => [ Package['apache-mpm-prefork'] ],
-            path => "/etc/init.d/httpd"
         }
     }
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101104/9e1c92f1/attachment.html>


More information about the Mageia-sysadm mailing list