Page MenuHomeDevCentral

D1271.diff
No OneTemporary

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

Event Timeline