While trying to build a 389 directory server using the Riot Games cookbook, I discovered that it didn’t fully support CentOS 7. I took the liberty of making the necessary modifications to allow a Chef run to complete successfully:
- The call to the
yum_repositoryLWRP needed to be changed to pass the appropriate configuration for different CentOS versions.
- Services are different in CentOS 7; systemd manages everything now, so I selected the appropriate commands based on the version.
The changes are available in my fork of Riot’s cookbook (the
centos7_support branch) and I’ve raised a PR, so hopefully this can be merged into the original cookbook.