From e7500c3a7af6aad2c514bbcbc1f20770201a32d5 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sat, 6 Nov 2021 12:30:19 +0100 Subject: [PATCH] . --- doc/salt-states.md | 6 +++++- salt/pillars/top.sls | 1 + salt/states/packages/init.sls | 4 +--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/salt-states.md b/doc/salt-states.md index ca0b620..95bac3b 100644 --- a/doc/salt-states.md +++ b/doc/salt-states.md @@ -51,7 +51,6 @@ docker: ## firewalld Configures firewalld services and networks - Installs and configures hostapd to use the wireless interface as a access point ``` # salt/pillars/hostapd.sls @@ -74,3 +73,8 @@ mysql: ``` ## nfs-server +Installs nfs-server and creates a backup export `/srv/exports/backups /24(rw,no_root_squash,sync,no_subtree_check)` + +## nginx +Installs nginx and configures the www.suse.lan web site + diff --git a/salt/pillars/top.sls b/salt/pillars/top.sls index 8c20bc4..a1bd164 100644 --- a/salt/pillars/top.sls +++ b/salt/pillars/top.sls @@ -12,6 +12,7 @@ base: - pxe - rancher - tlu-harvester + - packages {% if salt['pillar.file_exists']('local.sls') %} - local {% endif %} diff --git a/salt/states/packages/init.sls b/salt/states/packages/init.sls index 6654975..ffb679d 100644 --- a/salt/states/packages/init.sls +++ b/salt/states/packages/init.sls @@ -1,5 +1,3 @@ Install common packages: pkg.installed: - - pkgs: - - vim - - jq + - pkgs: {{ pillar['packages'] }}