HI @RedWhiteMiko, thank you for you pull request. However, I think that for a feature to be merged it should be available for all supported platforms. In addition, it is not the best practice to configure only one option for a provider in an attribute, and leave the rest hard coded in the recipe. I think it may be best if you use a wrapper cookbook around this one, set default['mesos']['repo'] = false, and write the default recipe to be something like this:
include_recipe 'yum'
yum_repository 'mesosphere' do
description 'Mesosphere Packages for Enteprise Linux'
baseurl "http://repos.mesosphere.io/el/<my_version>/$basearch/"
gpgkey 'https://repos.mesosphere.io/el/RPM-GPG-KEY-mesosphere'
proxy <my_proxy>
end
include_recipe[mesos]
HI @RedWhiteMiko, thank you for you pull request. However, I think that for a feature to be merged it should be available for all supported platforms. In addition, it is not the best practice to configure only one option for a provider in an attribute, and leave the rest hard coded in the recipe. I think it may be best if you use a wrapper cookbook around this one, set
default['mesos']['repo'] = false
, and write the default recipe to be something like this: