Page MenuHomeDevCentral

D3127.id7971.diff
No OneTemporary

D3127.id7971.diff

diff --git a/roles/core/salt/init.sls b/roles/core/salt/init.sls
--- a/roles/core/salt/init.sls
+++ b/roles/core/salt/init.sls
@@ -14,6 +14,16 @@
- name: roles
- value: {{ salt['node.get_list']("roles") }}
+# -------------------------------------------------------------
+# Repository
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{% if grains['os_family'] == 'RedHat' %}
+/etc/yum.repos.d/salt.repo:
+ file.managed:
+ - source: salt://roles/core/salt/files/salt.repo
+{% endif %}
+
# -------------------------------------------------------------
# Service
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 6, 08:38 (8 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2547980
Default Alt Text
D3127.id7971.diff (675 B)

Event Timeline