Quantcast
Channel: Puppets on UnixDaemon: In search of (a) life
Viewing all articles
Browse latest Browse all 101

Simple Puppet module grepper (prototype)

$
0
0
<tl;dr> Search for puppet resources values using puppet, not just plain text</tl;dr> One of the ideas that has been sitting on my todo list is having a command that lets me grep a puppet manifest for certain properties, values or even just resources in a smarter way than just running a raw grep over files. While a simple grep works in some cases it is annoyingly fragile when you’re trying to ignore literal strings in resource types that you’re not interested in or narrow your search down to resources that have a property that can also appear in other types.

Viewing all articles
Browse latest Browse all 101

Trending Articles