Comments (4)
建议采用第1种方案,这个方案可以保留下变量替换的历史记录。第2种方案需要在目标机器上执行shell命令进行替换, 有不可控因素,同时变量替换的历史信息不方便保存。
大家讨论下。
from wecube-plugins-saltstack.
我建议第二个方案,个人意见,现在行内就是不保存的。
from wecube-plugins-saltstack.
从实现角度,第一个稍微简单些,只要增加一步把换完的包上传S3返回存储路径即可。第二个需要把现有go写的变量替换逻辑重新用shell脚本写一遍,再分发到目标机器上执行。
from wecube-plugins-saltstack.
经过咨询行内团队,他们也建议保存记录,容易追踪。我改方案一
from wecube-plugins-saltstack.
Related Issues (20)
- minion安装失败确返回成功
- 差异化变量需要不区分大小写
- 数据库脚本执行增加多脚本支持
- 主机脚本执行支持多脚本输入
- 指定脚本执行带参数的情况下授权会有问题
- 部分接口root用户修改
- 日志与报错信息标准化改造
- saltstack插件升级后无须手工拷贝私钥配置
- 差异化变量加密替换加密工具可配置 HOT 1
- 差异化变量参数返回时加上类型符号
- salt-api调用过程中runAs用户不存在的异常没处理
- 增加本地应用包缓存清理策略
- 增加core请求认证
- 应用包文件返回md5
- 差异化变量替换换行
- 数据库脚本执行支持通配符
- 应用部署的文件分发远程脚本等需支持并发 HOT 2
- saltstack版本升级
- 支持使用公钥身份验证建立SSH连接
- host-file接口指定fileOwner为root会修改上一级目录的owner为root HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wecube-plugins-saltstack.