Goran Brannstrom
04/17/2026, 6:46 AMpuppet config set strict_variables false --section main
puppet config set strict warning --section main
puppet config set include_legacy_facts true --section main
I tried this, but i doesn't catch deprecated code like $::hostname and so:
find site-modules/ -name "*.pp" | while read file; do
echo "Testing: $file"
puppet.bat parser validate --strict=warning "$file"
done