diff options
author | Micah Anderson <micah@riseup.net> | 2013-05-22 12:56:43 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-05-22 12:56:43 -0400 |
commit | e0b591b063d3c49012a4266ee837737758f58dc2 (patch) | |
tree | 346e19d8f5486c5d637839be6d55dc54e73f5a90 /bin | |
parent | 92b90bc4507f412497c3128f0817bd24e2628b1b (diff) |
add requirements to the try::file resources
normally a file resource would automatically require the parent directory first,
but try::file doesn't do this so it has errors if /srv/leap/webapp doesn't exist yet:
for example:
- [web1] err: /Stage[main]/Site_webapp/Try::File[/srv/leap/webapp/public/img]/Exec[restore_/srv/leap/webapp/public/img]/returns: change from notrun to 0 failed: Working directory '/srv/leap/webapp/public' does not exist
that was 'tried' before the vcsrepo was done which would have resolved that
problem. This makes sure that the vcsrepo is done first
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions