Skip to content

Commit

Permalink
style: uniformize template files headers
Browse files Browse the repository at this point in the history
  • Loading branch information
daks committed Jul 18, 2022
1 parent c004efc commit 911223c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions proftpd/files/modules.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
########################################################################
## File managed by Salt.
## Your changes will be overwritten.
# File managed by Salt at <{{ source }}>.
# Your changes will be overwritten.
########################################################################
# This file is used to manage DSO modules and features.
#
Expand Down
5 changes: 5 additions & 0 deletions proftpd/files/proftpd.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
########################################################################
# File managed by Salt at <{{ source }}>.
# Your changes will be overwritten.
########################################################################

{% if modules_config %}
# Includes DSO modules
Include {{ modules_config }}
Expand Down
6 changes: 5 additions & 1 deletion proftpd/files/sql.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#
########################################################################
# File managed by Salt at <{{ source }}>.
# Your changes will be overwritten.
########################################################################

# Proftpd sample configuration for SQL-based authentication.
#
# (This is not to be used if you prefer a PAM-based SQL authentication)
Expand Down
2 changes: 1 addition & 1 deletion test/integration/default/controls/module_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

describe file('/etc/proftpd/modules.conf') do
it { should be_file }
its('content') { should include '## File managed by Salt' }
its('content') { should include '# File managed by Salt at' }
its('content') { should include 'mod_ctrls_admin' }
its('content') { should match(/mod_quotatab.c\nLoadModule mod_quotatab_file/) }
end
Expand Down

0 comments on commit 911223c

Please sign in to comment.