Change chef installation method
Fedora and Centos don't have chef in their repos. So we need to install it in another way. This patch adds an ability to install chef in different ways depending on a used distro (ubuntu, fedora, centos7) Change-Id: I1a8ea048791cc0498e78c6a406ef9b486d213471 Related-Bug: #1578991
This commit is contained in:
parent
4c28db2e9c
commit
f95912e1b9
|
@ -2,7 +2,14 @@
|
|||
|
||||
set -eu
|
||||
|
||||
install-packages git-core wget make gcc python-pip python-dev python-setuptools chef puppet
|
||||
install-packages git-core wget make gcc python-pip python-dev python-setuptools puppet
|
||||
|
||||
if test -f /etc/redhat-release
|
||||
then
|
||||
rpm -Uvh https://packages.chef.io/stable/el/7/chef-12.9.41-1.el7.x86_64.rpm
|
||||
else
|
||||
install-packages chef
|
||||
fi
|
||||
|
||||
name=murano-agent
|
||||
svc_root=${DIB_MURANO_AGENT_SVC_ROOT:-/opt/stack/$name}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
fixes:
|
||||
- Elements were updated to allow building murano fedora images with chef installed.
|
||||
Chef is installed from https://packages.chef.io
|
Loading…
Reference in New Issue