salt.master: manage formulas
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
b112ee3131
commit
5ab1c4f854
@ -1,3 +1,5 @@
|
|||||||
|
{%- set formulas = ['salt-formula'] -%}
|
||||||
|
|
||||||
salt:
|
salt:
|
||||||
interface: ${'secret_salt:master:interface'}
|
interface: ${'secret_salt:master:interface'}
|
||||||
master_remove_config: True
|
master_remove_config: True
|
||||||
@ -17,7 +19,9 @@ salt:
|
|||||||
- git
|
- git
|
||||||
file_roots:
|
file_roots:
|
||||||
production:
|
production:
|
||||||
- /srv/formulas/salt-formula
|
{%- for formula in formulas %}
|
||||||
|
- /srv/formulas/{{ formula }}
|
||||||
|
{%- endfor %}
|
||||||
gitfs_root: salt
|
gitfs_root: salt
|
||||||
gitfs_remotes:
|
gitfs_remotes:
|
||||||
- https://git.com.de/LibertaCasa/salt.git:
|
- https://git.com.de/LibertaCasa/salt.git:
|
||||||
|
@ -34,6 +34,13 @@ salt_master_extension_modules_bins:
|
|||||||
- require:
|
- require:
|
||||||
- file: salt_master_extension_modules_dirs
|
- 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:
|
salt_master_extra_packages:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- names:
|
- names:
|
||||||
|
Loading…
Reference in New Issue
Block a user