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'] }}