[英]salt-cloud: use map.sls from GitFS
Is there a way of invoking salt-cloud with a map file from GitFS? 是否可以通过GitFS的地图文件调用盐云?
ie can I run something like this: sudo salt-cloud -m salt://map.sls
? 即我可以运行这样的东西:
sudo salt-cloud -m salt://map.sls
吗?
Edit: Seems like this currently is not possible. 编辑:似乎目前无法进行此操作。 As per @Utah_Dave's suggestion I created an issue in github .
根据@Utah_Dave的建议,我在github中创建了一个问题 。
That's not supported right now. 目前不支持该功能。
Salt Cloud requires the map file exist on the same box Salt Cloud is running from. Salt Cloud要求地图文件存在于运行Salt Cloud的同一盒中。
I think that's an interesting use case, though. 我认为这是一个有趣的用例。 I can see how that would be handy to keep the map files in git.
我可以看到将地图文件保存在git中会很方便。 I think it should be doable to add that feature in. Please feel free to open an issue requesting that feature here: https://github.com/saltstack/salt/issues/new
我认为应该可以添加该功能。请随时在此处打开一个请求该功能的问题: https : //github.com/saltstack/salt/issues/new
Thanks! 谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.