Skip to content

Instantly share code, notes, and snippets.

/php5.sls Secret

Created December 2, 2013 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/c25974aeb8970870f20c to your computer and use it in GitHub Desktop.
Save anonymous/c25974aeb8970870f20c to your computer and use it in GitHub Desktop.
Everything but php_error_reporting is working just fine
# copy php.ini with our overrides.
/etc/php5/conf.d/php.ini:
file.managed:
- source: salt://php5/php.ini
- template: jinja
user_agent = {{ salt['pillar.get']('php_user_agent') }}
include_path = {{ include_path }}
sendmail_path = {{ sendmail_path }}
session.save_path = "/{{ salt['pillar.get']('nfs_mount') }}/{{ salt['pillar.get']('nfs_sessions_dir') }}/sessions"
error_reporting = {{ salt['pillar.get']('php_error_reporting') }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment