From 8ef6522ead6c0839a9be8cd9ce856ce6034a11d8 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 2 Jul 2021 15:48:48 +0200 Subject: [PATCH] bundles/travelynx: needs directory to git_deploy into --- bundles/travelynx/items.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/travelynx/items.py b/bundles/travelynx/items.py index 3f06b2f..e6e5d2c 100644 --- a/bundles/travelynx/items.py +++ b/bundles/travelynx/items.py @@ -12,6 +12,7 @@ users = { } directories = { + '/opt/travelynx': {}, '/var/cache/travelynx': { 'owner': 'travelynx', 'mode': '0700', @@ -62,6 +63,9 @@ git_deploy = { '/opt/travelynx': { 'repo': 'https://github.com/derf/travelynx.git', 'rev': node.metadata['travelynx']['version'], + 'needs': { + 'directory:/opt/travelynx', + }, 'triggers': { 'action:travelynx_install_deps', 'action:travelynx_database_migrate',