mirror-web/help/_posts/1970-01-01-chef.md
Miao Wang 96c01f1658
Re-locate files
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2020-08-06 15:18:27 +08:00

1.4 KiB

category layout mirrorid
help help chef

Chef APT/YUM 镜像使用帮助

Chef 是一套自动化运维工具。

Debian/Ubuntu 用户

再选择你的 Debian/Ubuntu 版本,文本框中内容写进 /etc/apt/sources.list.d/chef.list

Debian 8 (Jessie) Debian 9 (Stretch) Debian 10 (Buster) Ubuntu 14.04 LTS Ubuntu 16.04 LTS Ubuntu 18.04 LTS



{% raw %}

{%endraw%}

RHEL/CentOS 用户

新建 /etc/yum.repos.d/chef.repo,内容为:

[chef-stable]
name=chef-stable
baseurl=https://{{ site.hostname }}/chef/yum/stable/stable-el$releasever-x86_64/
enabled=1
gpgcheck=1
gpgkey=https://packages.chef.io/chef.asc