From 248ca2a4cfe28c983a542bab4705c23655063976 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 10 Mar 2023 00:08:06 +0100 Subject: [PATCH] updated vsftpd state --- states/vsftpd/init.sls | 4 ++-- states/vsftpd/{ => templates}/vsftpd.conf.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename states/vsftpd/{ => templates}/vsftpd.conf.j2 (93%) diff --git a/states/vsftpd/init.sls b/states/vsftpd/init.sls index cfd20aa..20a47bc 100644 --- a/states/vsftpd/init.sls +++ b/states/vsftpd/init.sls @@ -2,7 +2,7 @@ vsftpd-config: file.managed: - name: /etc/vsftpd.conf - - source: salt://vsftpd/vsftpd.conf.j2 + - source: salt://vsftpd/templates/vsftpd.conf.j2 - user: root - group: root - mode: "0644" @@ -13,4 +13,4 @@ vsftpd-config: vsftpd-service: service.running: - name: vsftpd - - enable: true \ No newline at end of file + - enable: true diff --git a/states/vsftpd/vsftpd.conf.j2 b/states/vsftpd/templates/vsftpd.conf.j2 similarity index 93% rename from states/vsftpd/vsftpd.conf.j2 rename to states/vsftpd/templates/vsftpd.conf.j2 index 63064ad..4001728 100644 --- a/states/vsftpd/vsftpd.conf.j2 +++ b/states/vsftpd/templates/vsftpd.conf.j2 @@ -3,4 +3,4 @@ {%- for key, value in vsftpd.config.items() %} {{ key }}={{ value }} -{%- endfor %} \ No newline at end of file +{%- endfor %}