Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767986
D1913.id4832.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
794 B
Referenced Files
None
Subscribers
None
D1913.id4832.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D1913: Stress on the fact the domain is a fully qualified one
Attached
Detach File
Event Timeline
Log In to Comment