From 76d1da11d9e4ca508696cff123824b6b22a9a500 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sat, 29 Apr 2023 18:55:49 +0200 Subject: Split out salt.formulas state Allow formulas update on Salt master without applying the complete Salt master profile. Signed-off-by: Georg Pfuetzenreuter --- salt/profile/salt/formulas.sls | 6 ++++++ salt/profile/salt/master.sls | 8 +------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 salt/profile/salt/formulas.sls (limited to 'salt/profile') diff --git a/salt/profile/salt/formulas.sls b/salt/profile/salt/formulas.sls new file mode 100644 index 0000000..d496e68 --- /dev/null +++ b/salt/profile/salt/formulas.sls @@ -0,0 +1,6 @@ +salt_master_formulas: + git.latest: + - name: https://git.com.de/LibertaCasa/salt-formulas.git + - target: /srv/formulas + - branch: production + - submodules: True diff --git a/salt/profile/salt/master.sls b/salt/profile/salt/master.sls index f0fdc7c..58f8cc8 100644 --- a/salt/profile/salt/master.sls +++ b/salt/profile/salt/master.sls @@ -7,6 +7,7 @@ include: - salt.master + - .formulas salt_master_extension_modules_dirs: file.directory: @@ -34,13 +35,6 @@ salt_master_extension_modules_bins: - require: - file: salt_master_extension_modules_dirs -salt_master_formulas: - git.latest: - - name: https://git.com.de/LibertaCasa/salt-formulas.git - - target: /srv/formulas - - branch: production - - submodules: True - salt_master_extra_packages: pkg.installed: - names: -- cgit v1.2.3