Fix(ch08s04): Correct Chef download link in Containerfile (#192)

This commit is contained in:
Guy Bianco IV
2021-11-16 03:37:38 -05:00
committed by GitHub
parent 1afd44184f
commit f355431fb6

View File

@@ -56,7 +56,7 @@ ADD solo.json.erb /var/chef/solo.json.erb
# Install using chef-solo # Install using chef-solo
# Chef version locked to avoid needing to accept the EULA on behalf of whomever builds the image # Chef version locked to avoid needing to accept the EULA on behalf of whomever builds the image
RUN yum install -y --disableplugin=subscription-manager hostname procps \ RUN yum install -y --disableplugin=subscription-manager hostname procps \
&& curl -L https://www.getchef.com/chef/install.sh | bash -s -- -v 14.12.9 \ && curl -L https://www.chef.io/chef/install.sh | bash -s -- -v 14.12.9 \
&& /opt/chef/embedded/bin/erb /var/chef/solo.json.erb > /var/chef/solo.json \ && /opt/chef/embedded/bin/erb /var/chef/solo.json.erb > /var/chef/solo.json \
&& chef-solo \ && chef-solo \
--recipe-url ${NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL} \ --recipe-url ${NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL} \