From 912e526de2a084df736704ea9336c1e0dd4842fd Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 4 Nov 2010 18:03:39 +0000 Subject: - move the call to extlookup before the template, not after --- modules/catdap/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/catdap/manifests/init.pp b/modules/catdap/manifests/init.pp index 74abcffd..f69b3ffd 100644 --- a/modules/catdap/manifests/init.pp +++ b/modules/catdap/manifests/init.pp @@ -23,7 +23,8 @@ class catdap { 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 @@ class catdap { 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", -- cgit v1.2.1