[Mageia-sysadm] [455] add requires on the package, so puppet doesn't send useless errors

root at mageia.org root at mageia.org
Wed Nov 24 16:22:15 CET 2010


Revision: 455
Author:   misc
Date:     2010-11-24 16:22:14 +0100 (Wed, 24 Nov 2010)
Log Message:
-----------
add requires on the package, so puppet doesn't send useless errors

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

Modified: puppet/modules/epoll/manifests/init.pp
===================================================================
--- puppet/modules/epoll/manifests/init.pp	2010-11-24 15:22:13 UTC (rev 454)
+++ puppet/modules/epoll/manifests/init.pp	2010-11-24 15:22:14 UTC (rev 455)
@@ -7,7 +7,8 @@
     }
     
     apache::vhost_catalyst_app { $vhost:
-        script => "/usr/bin/epoll_fastcgi.pl" 
+        script => "/usr/bin/epoll_fastcgi.pl", 
+        require => Package['Epoll']
     }
      
     $password = extlookup("epoll_password",'x')

Modified: puppet/modules/transifex/manifests/init.pp
===================================================================
--- puppet/modules/transifex/manifests/init.pp	2010-11-24 15:22:13 UTC (rev 454)
+++ puppet/modules/transifex/manifests/init.pp	2010-11-24 15:22:14 UTC (rev 455)
@@ -10,7 +10,8 @@
     owner => root,
     group => apache,
     mode => 640,
-    content => template("transifex/20-engines.conf")
+    content => template("transifex/20-engines.conf"),
+    require => Package['transifex']
   }
 
   file { "30-site.conf":
@@ -19,7 +20,8 @@
     owner => root,
     group => root,
     mode => 644,
-    content => template("transifex/30-site.conf")
+    content => template("transifex/30-site.conf"),
+    require => Package['transifex']
   }
 
 #  apache::vhost_django_app { "transifex.$domain":
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101124/19bb1eb0/attachment-0001.html>


More information about the Mageia-sysadm mailing list