diff --git a/recipes/dnf_yum_compat.rb b/recipes/dnf_yum_compat.rb index cac7c6c0799b33b2ee81d25ed4877b7d5985daa7..3406d5d3cd93afc3b8e37fdd0792acabffb76665 100644 --- a/recipes/dnf_yum_compat.rb +++ b/recipes/dnf_yum_compat.rb @@ -16,14 +16,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -execute 'make yum cache' do - command 'yum makecache' - action :nothing -end - -execute 'install yum' do - command 'dnf install yum -y' - not_if { ::File.exist?('/var/lib/yum') } - action :nothing - notifies :run, 'execute[make yum cache]', :immediately -end.run_action(:run) +log "The dnf_yum_compat recipe is no longer necessary as Chef Infra Client includes native DNF support" \ No newline at end of file diff --git a/test/fixtures/cookbooks/yum_test/recipes/test_dnf_compat.rb b/test/fixtures/cookbooks/yum_test/recipes/test_dnf_compat.rb deleted file mode 100644 index 82b81ba141170647b8888fc36173a9356ae94002..0000000000000000000000000000000000000000 --- a/test/fixtures/cookbooks/yum_test/recipes/test_dnf_compat.rb +++ /dev/null @@ -1 +0,0 @@ -package 'which'