Artifactory的厨师流程

编程入门 行业动态 更新时间:2024-10-25 08:21:15
本文介绍了Artifactory的厨师流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已阅读本教程有关设置Chef库的信息在Artifactory中(来自Git和官方Chef超市的我自己的"产品-两个遥控器).

I have read this tutorial about setting Chef repositories in Artifactory ("my own" from Git and official Chef supermarket - two remotes).

一切正常,但我不太了解如何与Chef一起固定".我知道您可以使用ChefDK在本地轻松安装食谱并将其推送到存储库.我的问题是关于最终用户的:他们如何使用此虚拟Chef存储库来轻松使用菜谱?

Everything works fine, but I don't really understand, how to "pin" it with Chef. I know that you can use ChefDK to easy install cookbooks locally and push them to repository. My question is about end-users: how they can use this virtual Chef repository to easy use cookbooks?

我的意思是,最终用户应运行如下命令: chef-client -j params.json,直接在其中具有run_lists或chef-client -o "recipe[my-cookbook]".使用厨师服务器,可以从服务器自动下载该食谱,客户端无需手动下载.没有服务器(-z/--local选项)时,它如何与工件一起使用?我可以以某种方式设置(client.rb?)URL以从回购中自动下载食谱吗?

I mean, end-user should run command like: chef-client -j params.json, where it has run_lists or chef-client -o "recipe[my-cookbook]" directly. With chef-server this cookbook would be downloaded automatically from server, client has no need to download it manually. How does it work with artifactory, without server (-z / --local option)? Can I somehow set (client.rb?) URL to automatically download cookbooks from repo?

如果没有,我应该如何配置Chef-server以自动使用Artifactory的食谱?

If not, how should I configure chef-server to automatically use cookbooks from Artifactory?

推荐答案

厨师服务器和厨师-客户端根本不谈论人工制品,它只是运行私有超市供内部使用的替代品.您仍然可以正常使用Berks或policyfile系统将其上传到Chef Server.

Chef server and chef-client don't talk to artifactory at all, it is only a replacement for running a private Supermarket for internal use. You would still use Berks or the policyfile system to upload to your Chef Server as per normal.

更多推荐

Artifactory的厨师流程

本文发布于:2023-11-06 21:43:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1564756.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:厨师   流程   Artifactory

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!