Skip to content

Commit 3115ad6

Browse files
committed
.pmtignore: implement module layout specification
puppetlabs/puppet-specifications#157 defines which files are allowed in a puppet module release. This commit basically changes the .pmtignore into an allowlist, not a denylist anymore.
1 parent 3c205af commit 3115ad6

File tree

1 file changed

+18
-40
lines changed

1 file changed

+18
-40
lines changed

moduleroot/.pmtignore.erb

+18-40
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,21 @@
11
# Managed by modulesync - DO NOT EDIT
22
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
33

4-
/docs/
5-
/pkg/
6-
/Gemfile
7-
/Gemfile.lock
8-
/Gemfile.local
9-
/vendor/
10-
/.vendor/
11-
/spec/
12-
/Rakefile
13-
/.vagrant/
14-
/.bundle/
15-
/.ruby-version
16-
/coverage/
17-
/log/
18-
/.idea/
19-
/.dependencies/
20-
/.github/
21-
/.librarian/
22-
/Puppetfile.lock
23-
*.iml
24-
/.editorconfig
25-
/.fixtures.yml
26-
/.gitignore
27-
/.msync.yml
28-
/.overcommit.yml
29-
/.pmtignore
30-
/.rspec
31-
/.rspec_parallel
32-
/.rubocop.yml
33-
/.sync.yml
34-
.*.sw?
35-
/.yardoc/
36-
/.yardopts
37-
/Dockerfile
38-
/HISTORY.md
39-
<% if ! @configs['paths'].nil? -%>
40-
<% @configs['paths'].each do |path| -%>
41-
<%= path %>
42-
<% end -%>
43-
<% end -%>
4+
*
5+
!/manifests
6+
!/README*
7+
!/metadata.json
8+
!/LICENSE
9+
!/hiera.yaml
10+
!/data
11+
!/templates
12+
!/files
13+
!/CHANGELOG*
14+
!/docs
15+
!/REFERENCE.md
16+
!/locales
17+
!/scripts
18+
!/tasks
19+
!/plans
20+
!/types
21+
!/bolt_plugin.json

0 commit comments

Comments
 (0)