diff --git a/contrib/elements/murano-agent/install.d/74-murano-agent b/contrib/elements/murano-agent/install.d/74-murano-agent index b81542d7..14b145b9 100755 --- a/contrib/elements/murano-agent/install.d/74-murano-agent +++ b/contrib/elements/murano-agent/install.d/74-murano-agent @@ -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} diff --git a/releasenotes/notes/install-chef-d67f115c0958c116.yaml b/releasenotes/notes/install-chef-d67f115c0958c116.yaml new file mode 100644 index 00000000..2681c5a6 --- /dev/null +++ b/releasenotes/notes/install-chef-d67f115c0958c116.yaml @@ -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 \ No newline at end of file