Skip to content

Commit

Permalink
.pmtignore: implement module layout specification
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bastelfreak committed May 25, 2024
1 parent 3c205af commit 3115ad6
Showing 1 changed file with 18 additions and 40 deletions.
58 changes: 18 additions & 40 deletions moduleroot/.pmtignore.erb
Original file line number Diff line number Diff line change
@@ -1,43 +1,21 @@
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

/docs/
/pkg/
/Gemfile
/Gemfile.lock
/Gemfile.local
/vendor/
/.vendor/
/spec/
/Rakefile
/.vagrant/
/.bundle/
/.ruby-version
/coverage/
/log/
/.idea/
/.dependencies/
/.github/
/.librarian/
/Puppetfile.lock
*.iml
/.editorconfig
/.fixtures.yml
/.gitignore
/.msync.yml
/.overcommit.yml
/.pmtignore
/.rspec
/.rspec_parallel
/.rubocop.yml
/.sync.yml
.*.sw?
/.yardoc/
/.yardopts
/Dockerfile
/HISTORY.md
<% if ! @configs['paths'].nil? -%>
<% @configs['paths'].each do |path| -%>
<%= path %>
<% end -%>
<% end -%>
*
!/manifests
!/README*
!/metadata.json
!/LICENSE
!/hiera.yaml
!/data
!/templates
!/files
!/CHANGELOG*
!/docs
!/REFERENCE.md
!/locales
!/scripts
!/tasks
!/plans
!/types
!/bolt_plugin.json

0 comments on commit 3115ad6

Please sign in to comment.