summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e81c163..0323049 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -24,7 +24,7 @@ class project_config(
24 $config_dir = Vcsrepo['/etc/project-config'] 24 $config_dir = Vcsrepo['/etc/project-config']
25 25
26 # Note project_config_ref can be provided by facter if you want to use it. 26 # Note project_config_ref can be provided by facter if you want to use it.
27 if ($::project_config_ref != undef) { 27 if (defined('$::project_config_ref') and $::project_config_ref != undef) {
28 $_revision = $::project_config_ref 28 $_revision = $::project_config_ref
29 } 29 }
30 else { 30 else {