From 0d02030c42c78b74859c808c856f3a423f869b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Tue, 27 Feb 2018 19:46:30 +0000 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'linux/LocalRepo.sls'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linux/LocalRepo.sls | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/linux/LocalRepo.sls b/linux/LocalRepo.sls index 7c4f00d..db5cffa 100644 --- a/linux/LocalRepo.sls +++ b/linux/LocalRepo.sls @@ -5,6 +5,11 @@ - source: salt://files/DebianSaltStack.list - user: root - mode: 644 - # Copier + {% elif grains['os_family'] == 'RedHat' %} + /etc/yum.repos.d/salt-latest.repo: + file.managed: + - source: salt://files/RedHatSaltStack.repo + - user: root + - mode: 644 {% endif %} {% endif %} \ No newline at end of file