left4me: declare /opt/left4me/src as a directory: item
bw's git_deploy item assumes the destination directory exists on the host — its fix path runs `find <dest> -mindepth 1 -delete` to clear existing contents before unpacking the new archive, which fails on a fresh box where the directory was never created. Flask follows the same pattern (bundles/flask/items.py:13).
This commit is contained in:
parent
149ce6c870
commit
d548235dfe
1 changed files with 4 additions and 0 deletions
|
|
@ -7,6 +7,10 @@ directories = {
|
|||
'owner': 'left4me',
|
||||
'group': 'left4me',
|
||||
},
|
||||
'/opt/left4me/src': {
|
||||
'owner': 'left4me',
|
||||
'group': 'left4me',
|
||||
},
|
||||
'/etc/left4me': {
|
||||
'owner': 'root',
|
||||
'group': 'root',
|
||||
|
|
|
|||
Loading…
Reference in a new issue