Add salt minion config

This commit is contained in:
LinuxSquare 2023-04-28 23:34:05 +02:00
parent 788229f940
commit 0b9f6b58a5
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,5 @@
# Set the file client. The client defaults to looking on the master server for
# files, but can be directed to look at the local file directory setting
# defined below by setting it to "local". Setting a local file_client runs the
# minion in masterless mode.
file_client: local

12
services/salt.sls Normal file
View file

@ -0,0 +1,12 @@
include:
- system.packages
services_salt_file_client_local:
file.managed:
- name: /etc/salt/minion.d/salt_file_client_local
- source: salt://{{ tpldir }}/files/salt_file_client_local
- user: root
- group: root
- mode: 640
- require:
- system_packages_install

View file

@ -10,6 +10,7 @@ system_packages_install:
- podman-compose
- mariadb-server
- java-latest-openjdk-headless
- jq
- require:
- system_btrfs_create_podman_data_dir
- system_btrfs_create_mysql_data_dir