瀏覽代碼

Refactor home variable

tags/v1.0.0
Benjamin Neff 6 年之前
父節點
當前提交
85e69ea1fb
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      diaspora/install.sls

+ 1
- 1
diaspora/install.sls 查看文件

@@ -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…
取消
儲存