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
This commit is contained in:
parent
1d2d95c808
commit
5d6f508743
@ -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}":
|
||||
|
Loading…
x
Reference in New Issue
Block a user