Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4792688
php.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
php.sls
View Options
# -------------------------------------------------------------
# Salt — Provision PHP websites — php-fpm pools
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
from
"map.jinja"
import
dirs
with context
%}
# -------------------------------------------------------------
# PHP global configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{
dirs.etc
}}
/php.ini
:
file.managed
:
-
source
:
salt://roles/webserver-legacy/php-sites/files/php.ini
{%
for
build
in
pillar
[
'php_custom_builds'
]
%}
/opt/php/
{{
build
}}
/lib/php.ini
:
file.managed
:
-
source
:
salt://roles/webserver-legacy/php-sites/files/php.ini
{%
endfor
%}
# -------------------------------------------------------------
# Sessions directories
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/var/tmp/php
:
file.directory
:
-
mode
:
1770
-
group
:
web
/var/tmp/php/sessions
:
file.directory
:
-
mode
:
1770
-
group
:
web
{%
for
fqdn
,
site
in
pillar
[
'web_php_sites'
]
.items
()
%}
/var/tmp/php/sessions/
{{
fqdn
}}
:
file.directory
:
-
mode
:
700
-
user
:
{{
site
[
'user'
]
}}
{%
endfor
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 28, 20:14 (8 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2437905
Default Alt Text
php.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment