From 18590b737553b2a42f85c58e6f8854cf5bef95bc Mon Sep 17 00:00:00 2001 From: rfl Date: Sun, 27 Oct 2024 16:35:17 +0100 Subject: [PATCH] Fix template file names --- paperless/{docker-compose.env => docker-compose.env.jinja} | 0 paperless/{docker-compose.yml => docker-compose.yml.jinja} | 0 paperless/init.sls | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename paperless/{docker-compose.env => docker-compose.env.jinja} (100%) rename paperless/{docker-compose.yml => docker-compose.yml.jinja} (100%) diff --git a/paperless/docker-compose.env b/paperless/docker-compose.env.jinja similarity index 100% rename from paperless/docker-compose.env rename to paperless/docker-compose.env.jinja diff --git a/paperless/docker-compose.yml b/paperless/docker-compose.yml.jinja similarity index 100% rename from paperless/docker-compose.yml rename to paperless/docker-compose.yml.jinja diff --git a/paperless/init.sls b/paperless/init.sls index f9ffd2c..9dfbc04 100644 --- a/paperless/init.sls +++ b/paperless/init.sls @@ -106,13 +106,13 @@ paperless-docker-compose-env-file-present: file.managed: - name: /opt/docker-compose.env - template: jinja - - source: ./docker-compose.env + - source: salt://paperless/docker-compose.env.jinja paperless-docker-compose-file-present: file.managed: - name: /opt/docker-compose.yml - template: jinja - - source: ./docker-compose.yml + - source: salt://docker-compose.yml.jinja paperless-docker-compose-up: module.run: