Page MenuHomeDevCentral

init.sls
No OneTemporary

init.sls

# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% set has_selinux = salt["grains.get"]("selinux:enabled", False) %}
/var/wwwroot-502:
file.recurse:
- source: salt://wwwroot/502
- exclude_pat: E@.git
- include_empty: True
- dir_mode: 755
- file_mode: 644
{% if has_selinux %}
wwwroot_502_selinux_context:
selinux.fcontext_policy_present:
- name: /var/wwwroot-502(/.*)?
- sel_type: httpd_sys_rw_content_t
wwwroot_502_selinux_context_applied:
selinux.fcontext_policy_applied:
- name: /var/wwwroot-502
- recursive: True
{% endif %}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 14, 19:36 (6 d, 7 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3995265
Default Alt Text
init.sls (852 B)

Event Timeline