Chef Infra and Cinc Client 15.9.17 Builds for CentOS, Debian and Raspbian on 32-bit ARM

UPDATE: The latest builds and instructions are now at the 32-bit Arm Chef Infra and Cinc Client Builds for Linux landing page.

Chef Cinc

The new Chef Infra Client 15.9.17 build is available and it’s time for new 32-bit ARM builds. I’m providing Cinc community builds of the same versions considering these are all technically “unsupported” builds either way. All previous patches have been upstreamed, so these build right off of the master branch. The version of Ruby used has been upgraded from 2.6.5 to 2.6.6 and I had to re-enable swap on the Raspberry Pi Zero because it did not have sufficient RAM for building.

The Cinc build is a series of patches applied on top of the Chef code. I’ve slightly modified the patch for my builds to reuse the omnibus-toolchain from the Chef build and patch the code from the download version of the Chef code and not cache things for future builds. These build scripts build and install Ruby, the latest omnibus-toolchain, download and build Chef, get the Cinc patches and apply them to a clean copy of the same Chef code base and then build that. You can edit the script to disable Chef or Cinc depending on your preference if you don’t want one of them.

Build Instructions

If you want full instructions explained, here they are:

Please note the ld.so.preload instructions for Raspbian 10. Here are the updated single scripts to do a full build as the omnibus user:

Chef Infra 15.9.17

And tail -f nohup.out to watch the output. The Raspberry Pi Zero is extremely slow to build, you may need to renice the build processes to keep it from dying.

Chef Infra Client 15.9.17 32-bit ARM DEB and RPM Packages

Cinc Infra Client 15.9.17 32-bit ARM DEB and RPM Packages

Chef LEDs Handler Cookbook

Flashing LEDs    

If you’re using these builds you might be interested in the LEDs Handler cookbook. At the beginning of the Chef client run the LEDs blink a heartbeat pattern and at the end of the client run the LEDs are disabled. If the Chef client run fails the LEDs all stay on. It’s pretty simple but it’s a fun notification that the nodes are converging. It also works with Mac laptops running Linux, lighting up their keyboards when the Chef client is active.

https://github.com/mattray/leds_handler-cookbook