The Shining Path of Least Resistance


Archive for April, 2018

Chef 14 ARM on the BeagleBone Black – UPDATED 14.1

Posted by mattray on April 4, 2018

Chef 14 is now available and there are a few minor updates from the Chef 13 ARM build. Looking forward to the “official” ARM builds, but for now here’s what needed to be updated.

Ruby 2.5.0

Chef 14 is built with Ruby 2.5.0, so the first step was to build the latest. I already had an omnibus user and rbenv installed, so it was simply:

sudo su - omnibus
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
rbenv install 2.5.0
rbenv global 2.5.0
gem install bundler


With Ruby 2.5.0 installed, I decided to update the omnibus-toolchain to the current release.

git clone
cd omnibus-toolchain
bundle install --without development
bundle exec omnibus build omnibus-toolchain
dpkg -i pkg/omnibus-toolchain*deb

Chef 14.0.190

With omnibus-toolchain built with Ruby 2.5.0 I could now build Chef 14.

export PATH="$HOME/.rbenv/bin:/opt/omnibus-toolchain/bin:$PATH"
tar -xzvf v14.0.190.tar.gz
cd chef-14.0.190/omnibus/
bundle install --without development
bundle exec omnibus build chef -l debug

A few hours later I had my ARM Chef client .deb built. As the root user I installed it and ran it.

dpkg -i chef_14.0.190+20180403233706-1_armhf.deb
Thank you for installing Chef!

You may download the chef_14.0.190+20180403233706-1_armhf.deb or follow these instructions to build your own package for your platform.


Chef 14.1.1 is now available, I’ve built new 14.1.1 ARM packages updating the above to Ruby 2.5.1, the latest omnibus-toolchain and the Chef 14.1.1 source.



Posted in chef | Tagged: | Leave a Comment »