summaryrefslogtreecommitdiff
path: root/puppet/modules/apt
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-05-22 12:56:43 -0400
committerMicah Anderson <micah@riseup.net>2013-05-22 12:56:43 -0400
commite0b591b063d3c49012a4266ee837737758f58dc2 (patch)
tree346e19d8f5486c5d637839be6d55dc54e73f5a90 /puppet/modules/apt
parent92b90bc4507f412497c3128f0817bd24e2628b1b (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 'puppet/modules/apt')
0 files changed, 0 insertions, 0 deletions