Browse Source

Refactor home variable

tags/v1.0.0
Benjamin Neff 6 years ago
parent
commit
85e69ea1fb
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      diaspora/install.sls

+ 1
- 1
diaspora/install.sls View File

@@ -28,7 +28,7 @@ redis_service:
- name: {{ diaspora.redis_service }}
{%- endif %}

{% set home = diaspora.user.home if 'home' in diaspora.user else '/home/' + diaspora.user.username %}
{% set home = diaspora.user.get('home', '/home/' + diaspora.user.username) -%}
diaspora_user:
user.present:
- name: {{ diaspora.user.username }}

Loading…
Cancel
Save