From 667b9a7d624fc5fcfb183d463d4a73964d27f51e Mon Sep 17 00:00:00 2001 From: Zach Crownover Date: Sun, 29 Apr 2018 06:21:48 -0700 Subject: [PATCH] ignore/types: add puppet Puppet is primarily written in it's own format of .pp files, but custom facts and functions are often written in Ruby. The templating language is ERB and so this will allow scanning of any of the three most commonly used formats for Puppet specific things. --- ignore/src/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ignore/src/types.rs b/ignore/src/types.rs index ffec23d..9737d67 100644 --- a/ignore/src/types.rs +++ b/ignore/src/types.rs @@ -215,6 +215,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("pod", &["*.pod"]), ("protobuf", &["*.proto"]), ("ps", &["*.cdxml", "*.ps1", "*.ps1xml", "*.psd1", "*.psm1"]), + ("puppet", &[".erb", "*.pp", "*.rb"]), ("purs", &["*.purs"]), ("py", &["*.py"]), ("qmake", &["*.pro", "*.pri", "*.prf"]),