From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 07:26:38 +0000 (+0100) Subject: Actually install dir_colors file X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=d1e7c15f9e17351409037fb01622c1321e8dec1f;p=max%2Fsaltfiles.git Actually install dir_colors file --- 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