소스 검색

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 %}

Loading…
취소
저장