mirror-web/_posts/help/1970-01-01-chef.md
z4yx 4f89c01ccd
relocate the chef repo
Signed-off-by: z4yx <z4yx@users.noreply.github.com>
2020-04-07 12:09: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