![]() This is called the Grains Interface, because it presents salt with grains of information. Salt comes with an interface to derive information about the underlying system. Match based on Subnet (CIDR notation) or IP address. Instead of using shell globs to evaluate the target use a pillar value to identify targets, the syntax for the target is the pillar key followed by a pcre regular expression: 'role:prod.*'. Instead of using shell globs to evaluate the target use a pillar value to identify targets, the syntax for the target is the pillar key followed by a glob expression: 'role:production*'. ![]() The compound target is space delimited, targets other than globs are preceded with an identifier matching the specific targets argument type: salt and webser or -pillar The compound target option allows for multiple target types to be evaluated, allowing for greater granularity in target matching. Instead of using shell globs to evaluate the target use a range expression to identify targets. ![]() Instead of using shell globs to evaluate the target use one of the predefined nodegroups to identify a list of targets. Instead of using shell globs to evaluate the target use a grain value to identify targets, the syntax for the target is the grain key followed by a pcre regular expression: 'os:Arch.*'. Instead of using shell globs to evaluate the target use a grain value to identify targets, the syntax for the target is the grain key followed by a globexpression: 'os:Arch*'. Instead of using shell globs to evaluate the target servers, take a comma or whitespace delimited list of servers. Instead of using shell globs to evaluate the target servers, use pcre regular expressions. List all known hosts to currently visible or other specified rosters You can also target a specific Minion sudo salt -L ubuntuAsus,ubuntuBrix test.ping. By using * you target all accepted Minions on your Salt network.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |