vagrant-saltlab/srv/salt/apache/init.sls
John Bowdre 2fb3b6e340 fun with pillars
- map distros to package names
- create users on saltlab minions
- ditch cowsay
- replace nginx with apache (and pull pkg name from pillar data)
2023-03-24 23:11:25 -05:00

7 lines
197 B
Text

install_apache:
pkg.installed:
- name: {{ pillar['pkgs']['apache'] }}
service.running:
- require:
- pkg: {{ pillar['pkgs']['apache'] }}
- name: {{ pillar['pkgs']['apache'] }}