Page MenuHomeDevCentral

No OneTemporary

diff --git a/roles/webserver-legacy/php-sites/account.sls b/roles/webserver-legacy/php-sites/account.sls
index 2a1981f..67bc189 100644
--- a/roles/webserver-legacy/php-sites/account.sls
+++ b/roles/webserver-legacy/php-sites/account.sls
@@ -1,24 +1,24 @@
# -------------------------------------------------------------
# Salt — Provision PHP websites
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
# -------------------------------------------------------------
# Sites user accounts
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-{% for domain, site in pillar['web_php_sites'].items() %}
+{% for fqdn, site in pillar['web_php_sites'].items() %}
{% if 'skipCreateAccount' not in site or not site['skipCreateAccount'] %}
web_account_{{ site['user'] }}:
user.present:
- name: {{ site['user' ]}}
- - fullname: {{ domain }}
+ - fullname: {{ fqdn }}
- gid: web
- system: True
- - home: /var/run/web/{{ domain }}
+ - home: /var/run/web/{{ fqdn }}
{% endif %}
{% endfor %}

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 25, 07:12 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259683
Default Alt Text
(1 KB)

Event Timeline