Saltstack Official Apache Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
403B

  1. {% set apache = salt['grains.filter_by']({
  2. 'Debian': {
  3. 'server': 'apache2',
  4. 'service': 'apache2',
  5. 'conf': '/etc/apache2/conf.d',
  6. 'mod_wsgi': 'libapache2-mod-wsgi',
  7. },
  8. 'RedHat': {
  9. 'server': 'httpd',
  10. 'service': 'httpd',
  11. 'conf': '/etc/httpd/conf.d',
  12. 'mod_wsgi': 'mod_wsgi',
  13. },
  14. }, merge=salt['pillar.get']('apache:lookup')) %}