bflad/chef-docker — pull request #193 by amaltson (2014-07-13 02:29:30+00:00)
Title: Setup cgroups on RHEL family

When I was installing and testing the Docker recipe on local test-kitchen CentOS and RHEL boxes, I found that even though Docker gets installed correctly, it actually isn't usable and fails on the first Docker pull because the cgroup mounts are properly configured. The workaround I discovered was to modify the cgroups recipe to work on RHEL family boxes and then execute it before the default docker recipe. With that in place, the binary installation works great.

This PR modifies the binary installation recipe to ensure cgroups are setup correctly, and modifies the cgroups recipe to also execute against RHEL family OSes.

Thank you for taking a look!