Page MenuHomeDevCentral

D1271.id3268.diff
No OneTemporary

D1271.id3268.diff

diff --git a/roles/core/hostname/init.sls b/roles/core/hostname/init.sls
--- a/roles/core/hostname/init.sls
+++ b/roles/core/hostname/init.sls
@@ -11,7 +11,7 @@
# Store hostname into a configuration file
# -------------------------------------------------------------
-hostname:
+/etc/hostname:
file.managed:
- name: /etc/hostname
- contents: {{ salt['node.get']('hostname') }}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 22:19 (21 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2252980
Default Alt Text
D1271.id3268.diff (400 B)

Event Timeline