From 5d6f50874379c11f219fac3d570bed5fce785257 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 23 Aug 2013 11:42:01 -0700 Subject: [PATCH] Fix releastestatus dependency A run on a new server produces: err: /Stage[main]/Openstack_project::Static/Releasestatus::Site[releasestatus]/File[/srv/static/release]: Failed to generate additional resources using 'eval_generate: undefined method `relative_path' for nil:NilClass err: /Stage[main]/Openstack_project::Static/Releasestatus::Site[releasestatus]/File[/srv/static/release]: Could not evaluate: Could not retrieve information from environment production source(s) file:/var/lib/releasestatus/releasestatus/static at /opt/config/production/modules/releasestatus/manifests/site.pp:36 Change-Id: Iff895f56cf676f13f9b55f564d907c285dd49f6e --- modules/releasestatus/manifests/site.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/releasestatus/manifests/site.pp b/modules/releasestatus/manifests/site.pp index da3e83ce7a..1289d40fcd 100644 --- a/modules/releasestatus/manifests/site.pp +++ b/modules/releasestatus/manifests/site.pp @@ -32,7 +32,7 @@ define releasestatus::site( mode => '0755', source => '/var/lib/releasestatus/releasestatus/static', recurse => remote, - require => File['/var/lib/releasestatus'], + require => Vcsrepo['/var/lib/releasestatus/releasestatus'], } cron { "update releasestatus ${configfile}":