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

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",