Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modified platform_family logic #176

Closed
wants to merge 1 commit into from

Conversation

lamont-granquist
Copy link
Contributor

  • amazon has platform_versions like "2013.03" which would have fallen
    through into the RHEL5-like case statement and been broken. there is
    probably a rhel-5-like-vs-rhel-6-like breakpoint somewhere in the
    platform_versions here, but i don't know we really care that badly
    about old amazon platforms.
  • i switched the case statement around to match rhel-5 tighter and
    fall through into rhel-6-like behavior, on the assumption that it is
    a lot more likely that rhel-7 will behave like rhel-6 and rhel-5 is
    certain to be wrong.
  • fedora is not in the "rhel" family so added that explicitly and
    again made it rhel-6-like and older rhel5-like fedora is not supported

- amazon has platform_versions like "2013.03" which would have fallen
  through into the RHEL5-like case statement and been broken.  there is
  probably a rhel-5-like-vs-rhel-6-like breakpoint somewhere in the
  platform_versions here, but i don't know we really care that badly
  about old amazon platforms.
- i switched the case statement around to match rhel-5 tighter and
  fall through into rhel-6-like behavior, on the assumption that it is
  a lot more likely that rhel-7 will behave like rhel-6 and rhel-5 is
  certain to be wrong.
- fedora is not in the "rhel" family so added that explicitly and
  again made it rhel-6-like and older rhel5-like fedora is not supported
@lamont-granquist
Copy link
Contributor Author

  • should fix "amazon" and CHEF-3838, also fixes "fedora"
  • does some hopeful future-proofing against rhel-7

@lamont-granquist
Copy link
Contributor Author

so this doesn't merge any more. runit cookbook got moved to being pulled from the community via berkshelf and via indirection from the https://github.com/opscode-cookbooks/enterprise-chef-common cookbook. It looks like its using >1.0.0 so should be pulling in latest, so CHEF-3838 is probably a bug in upstream community runit cookbook then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant