{
  "name": "db_setup",
  "description": "Setup mysql database and backup tools",
  "chef_type": "role",
  "json_class": "Chef::Role",
  "run_list": [
    "recipe[mysql_part::setup]",
    "recipe[backup_restore::setup]"
  ]
}

{
  "name": "db_setup",
  "description": "Setup mysql database and backup tools",
  "chef_type": "role",
  "json_class": "Chef::Role",
  "default_attributes": {
    "yum": {
      "main": {
        "obsoletes": true
      }
    }
  },
  "run_list": [
    "recipe[yum]",
    "recipe[mysql_part::setup]",
    "recipe[backup_restore::setup]"
  ]
}

Add yum cookbook to use obsoleted packages when install mysql
Add yum cookbook to use obsoleted packages when install mysql
