From d1e7c15f9e17351409037fb01622c1321e8dec1f Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 08:26:38 +0100 Subject: [PATCH] Actually install dir_colors file --- states/dircolors/init.sls | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/states/dircolors/init.sls b/states/dircolors/init.sls index e69de29..902c0ad 100644 --- a/states/dircolors/init.sls +++ b/states/dircolors/init.sls @@ -0,0 +1,8 @@ +ensure dircolor file: + file.managed: + - name: {{ grains['homedir'] }}/.dir_colors + - source: salt://dircolors/files/dir_colors + - user: {{ grains['user'] }} + - group: {{ grains['user'] }} + - mode: 660 + - template: jinja -- 2.46.2