HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

What is a glob in salt-stack?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
stackglobsaltwhat

Problem

I was going through targeting minions in salt. There I came across a term called glob. Can someone explain with an example what is a glob in Salt-Stack?

Solution

Globbing is a term used for matching file name patterns with wild cards. You can see a more detailed definition here https://searchsecurity.techtarget.com/definition/globbing

As it relates to Salt Stack, it's finding the minion id using wild cards. Additional details here: https://docs.saltstack.com/en/latest/topics/targeting/globbing.html

Context

StackExchange DevOps Q#4760, answer score: 4

Revisions (0)

No revisions yet.