saltstack 学习之note groups
【基本介绍】
这里介绍saltstatck的分组
【配置】
配置文件:/etc/salt/master
nodegroups:
group1: 'L@foo.domain.com,bar.domain.com,baz.domain.com or bl*.domain.com'
group2: 'G@os:Debian and foo.domain.com'
【组合】
Letter Match Type Example
G Grains glob G@os:Ubuntu
E PCRE Minion ID E@web\d+\.(dev|qa|prod)\.loc
P Grains PCRE P@os:(RedHat|Fedora|CentOS)
L List of minions L@minion1.example.com,minion3.domain.com or bl*.domain.com
I Pillar glob I@pdata:foobar
S Subnet/IP address S@192.168.1.0/24 or S@192.168.1.100
R Range cluster R@%foo.bar
【例子】
sls file
base:
'webserv* and G@os:Debian or E@web-dc1-srv.*':
- match: compound
- webserver
command line
salt -C '* and not G@kernel:Darwin' test.ping
【参考】
http://salt.readthedocs.org/en/latest/topics/targeting/nodegroups.html#targeting-nodegroups
http://salt.readthedocs.org/en/latest/topics/targeting/compound.html
分享到:
相关推荐
This powerful, practical book, based on years of proven and profi table experience, shows ... The Compound Effect is a treasure chest of ideas for achieving greater success than you ever thought possible
用法从下载二进制文件mkdir bybit && cd bybitwget https://github.com/tacotokyo/bybit-auto-compound/releases/download/v0.4/bybit-auto-compound-linuxchmod +x bybit-auto-compound-linux将.env.example文件...
cytoscape化合物拖放描述用于添加和删除子项的复合节点拖放UI( )依存关系Cytoscape.js ^ 3.4.0使用说明下载库: 通过npm: npm install cytoscape-compound-drag-and-drop , 通过凉亭: bower install cytoscape-...
React Compound Slider是一个小的滑块组件,对标记或样式没有意见。 2020年路线图 基本概述: 将滑块源转换为Typescript(完成) 将测试转换为打字稿(完成) 将演示和文档转换为Typescript(完成) 在内部使用...
CP-Macrocyclic-host-compound-analysis
shirisha-simple-and-compound-intrest
React复合计时器计时器复合组件,用于进行响应和本机响应,以减少构建计时器的痛苦。 它封装了所有计时器逻辑-您只需要考虑渲染!远期计数只需渲染一个简单的计时器,然后从0开始向前计数即可。...
terraform-aws-cloudfront-化合物 Terraform模块通过...用法创建一个文件调用module.cloudfront.tf : module " cloudfront " { source = " jameswoolfenden/aws/cloudfront-compound " versioning = var . versioning
adv-ng-patterns-02-compound-components-qpvvgh
晶体中堆积作用诱导[Ni(mnt)2]2-形成严重扭曲的非平面分子结构,陈梦雅,宁为华,在功能材料领域中,金属二硫烯电荷转移盐具有广泛应用。在本研究中,一种新型金属二硫烯基电荷转移盐[CF3-BzNH2Py]2[Ni(mnt)2]被合成...
具有样式和复合组件的React Footer应用程序 Create React App入门 该项目是通过引导的。 可用脚本 在项目目录中,可以运行: npm start 在开发模式下运行应用程序。 打开在浏览器中查看它。 如果您进行编辑,则...
多步zawiera wszystkie组件należące做复合组件
最长的化合物 最长组合结果
CP-大环-宿主-化合物分析用于识别和测量大环主体化合物大小的CellProfiler(版本4.0.3)管道
化合物复合Raydium Fusion池的脚本警告该软件未经审核-使用后果自负。 警告:此脚本将使用合并帐户中的所有资金进行复利先决条件您的钱包中必须有SOL,才能支付发送费用。 您必须将资金存入Raydium.io的Fusion Pools...
修改版本的collectionbuilder-gh 与“复合对象”一起使用,即记录中包含多个图像。 对于项目,将主图像照常添加到“文件名”字段中。 如果该项目包含其他图像,则将其他文件名添加到“化合物”列。...
https://msdn.microsoft.com/en-us/library/ms810430.aspx
β-二亚胺配体支持的铝氧硼六元环化合物的合成、表征及其热稳定性研究,郝朋飞,杨智,LAlH2 (L = HC(CMeNAr)2, Ar = 2, 6-iPr2C6H3) (1) 与2-三氟甲基苯硼酸反应, 合成含铝氧硼六元环的化合物LAl[OB(2-CF3C6H4)]2...
ISO 4384-1-2000 滑动轴承-轴承金属的硬度测试 Plain bearings -- Hardness testing of bearing metals -- Part 1 Compound materials.rar
网络技术-网络基础