Page MenuHomeDevCentral

D1271.id3267.diff
No OneTemporary

D1271.id3267.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:43 (22 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2252980
Default Alt Text
D1271.id3267.diff (400 B)

Event Timeline