Page MenuHomeDevCentral

D1913.id4832.diff
No OneTemporary

D1913.id4832.diff

diff --git a/roles/webserver-legacy/php-sites/account.sls b/roles/webserver-legacy/php-sites/account.sls
--- a/roles/webserver-legacy/php-sites/account.sls
+++ b/roles/webserver-legacy/php-sites/account.sls
@@ -9,16 +9,16 @@
# 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/plain
Expires
Sun, Nov 24, 04:48 (19 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259278
Default Alt Text
D1913.id4832.diff (794 B)

Event Timeline