ソースを参照

Merge pull request #57 from salt-formulas/pr_hostname

dont touch hostname if not needed
tags/2017.4
Filip Pytloun 8年前
コミット
76dbbdf5f6
1個のファイルの変更2行の追加1行の削除
  1. +2
    -1
      linux/network/hostname.sls

+ 2
- 1
linux/network/hostname.sls ファイルの表示

@@ -19,6 +19,7 @@ linux_hostname_file:
linux_enforce_hostname:
cmd.wait:
- name: hostname {{ network.hostname }}
- unless: test "$(hostname)" = "{{ network.hostname }}"

{#
linux_hostname_hosts:
@@ -29,4 +30,4 @@ linux_hostname_hosts:
- {{ network.hostname }}
#}

{%- endif %}
{%- endif %}

読み込み中…
キャンセル
保存