Skip to content
devops6 active rulesVerified 2026-09-30

Puppet .gitignore Template

Standard Puppet gitignore template from upstream github/gitignore collection. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.

Interactive Stack Generator

Open in Full Generator
Search for templates
Quick add:
Selected1
Puppet
Selected Templates (1)
.gitignore
### Puppet ###
# gitignore template for Puppet modules
# website: https://forge.puppet.com/
# Built packages
pkg/*
# Should run on multiple platforms so don't check in
Gemfile.lock
# Tests
spec/fixtures/*
coverage/*
# Third-party
vendor/*
.bundle/*
6 rules1 template18 lines
Deterministic

Raw Puppet .gitignore

Crawlable upstream source template
puppet.gitignore17 lines
# gitignore template for Puppet modules
# website: https://forge.puppet.com/
# Built packages
pkg/*
# Should run on multiple platforms so don't check in
Gemfile.lock
# Tests
spec/fixtures/*
coverage/*
# Third-party
vendor/*
.bundle/*

Key Pattern Breakdown

Dependencies & Packages

Excludes installed package directories and third-party vendor files that should be restored via package managers.

vendor/*

Cache & Temporary Files

Ignores compiler caches, test runner coverage data, and transient temporary scratch files.

coverage/*

Source & Verification

License:: CC0-1.0

Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.