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.

21 lines
560B

  1. {%- from "apache/map.jinja" import apache with context -%}
  2. # Managed by saltstack
  3. # envvars - default environment variables for apache2ctl
  4. # this won't be correct after changing uid
  5. unset HOME
  6. APACHE_CONFDIR=/usr/local/etc/apache24
  7. export APACHE_RUN_USER={{ apache.user }}
  8. export APACHE_RUN_GROUP={{ apache.group }}
  9. export APACHE_RUN_DIR={{ salt['pillar.get']('apache:run_dir', '/var/run') }}
  10. ## The locale used by some modules like mod_dav
  11. export LANG=en_US.UTF-8
  12. {%- for envvar in salt['pillar.get']('apache:envvars', []) %}
  13. {{ envvar }}
  14. {%- endfor %}