[Mageia-sysadm] [98] - move the call to extlookup before the template, not after

root at mageia.org root at mageia.org
Thu Nov 4 19:03:39 CET 2010


Revision: 98
Author:   misc
Date:     2010-11-04 19:03:39 +0100 (Thu, 04 Nov 2010)
Log Message:
-----------
- move the call to extlookup before the template, not after 

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

Modified: puppet/modules/catdap/manifests/init.pp
===================================================================
--- puppet/modules/catdap/manifests/init.pp	2010-11-04 17:51:05 UTC (rev 97)
+++ puppet/modules/catdap/manifests/init.pp	2010-11-04 18:03:39 UTC (rev 98)
@@ -23,7 +23,8 @@
         source => "svn://svn.mageia.org/soft/identity/CatDap/branches/live"
     }
 
-    # add a catdap config file
+    $catdap_password = extlookup('catdap_password')
+    
     file { "$catdap_location/catdap_local.yml":
         ensure => present,
         owner => apache,
@@ -32,7 +33,6 @@
         require => Subversion::Snapshot[$catdap_location]
     }
 
-    $catdap_password = extlookup('catdap_password')
     # add a apache vhost
     file { "$catdap_vhost.conf":
         path => "/etc/httpd/conf/vhosts.d/$catdap_vhost.conf",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101104/4b7d6c53/attachment.html>


More information about the Mageia-sysadm mailing list