Closed h3poteto closed 7 years ago
So this code doesn't work on chef-client v12.x?
@repeatedly Oh...you are right, certainly this recipe doesn't work on chef 12.x. What should I do...
I can add version restriction in metadata.rb
, for example:
chef_version '~> 13'
but, it means that the latest version can not be used in chef 12.x. What do you think?
I think that the actual incompatibility is in ohai, not chef itself. Anyway Chef 12 is not yet EOL'd and clearly this cookbook should not cut off the support for the version.
@yuuu OK, I see. I try to fix this recipe so that it can be used in both versions.
I fixed it.
Fixed support for Amazon Linux platform family in Chef 13.
Chef-client version
13.2.20
Error
platform_family
of Amazon Linux is judged asamazon
in Chef 13, so this recipe skipped creating yum repository.