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.

25 lines
636B

  1. {% set apache = salt['grains.filter_by']({
  2. 'Debian': {
  3. 'server': 'apache2',
  4. 'service': 'apache2',
  5. 'mod_wsgi': 'libapache2-mod-wsgi',
  6. 'vhostdir': '/etc/apache2/sites-available',
  7. 'confdir': '/etc/apache2/conf.d',
  8. 'logdir': '/var/log/apache2',
  9. 'wwwdir': '/srv',
  10. },
  11. 'RedHat': {
  12. 'server': 'httpd',
  13. 'service': 'httpd',
  14. 'mod_wsgi': 'mod_wsgi',
  15. 'vhostdir': '/etc/httpd/conf.d',
  16. 'confdir': '/etc/httpd/conf.d',
  17. 'logdir': '/var/log/httpd',
  18. 'wwwdir': '/var/www',
  19. },
  20. }, merge=salt['pillar.get']('apache:lookup')) %}