From 26ccd881002263ede08be6903ed31bf711584bd3 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Apr 18 2020 20:16:08 +0000 Subject: Fix static.o.o repo names With the changed state name (now including the branch name), we need to explicitely pass the repo name --- diff --git a/salt/profile/static/master.sls b/salt/profile/static/master.sls index d1b8acb..e2b1ce5 100644 --- a/salt/profile/static/master.sls +++ b/salt/profile/static/master.sls @@ -51,6 +51,7 @@ static_master_cron_mailto: {{ data.repo }}-{{ data.get('branch', 'master') }}: # salt 2018.3.3 introduced git.cloned - switch once our salt is new enough git.latest: + - name: {{ data.repo }} - branch: {{ data.get('branch', 'master') }} - target: /home/web_static/git/{{ dir }} # When checking out a non-default branch, salt will create a local branch based on HEAD by default.