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 %}