Revert "Add contentdir yum variable"

This is no longer needed as this file seems to be created on a freshly
installed system.

This reverts commit 80706ed6e3.

Change-Id: I8d518b2a940333a76e21b22929272e60ed493dbf
Signed-off-by: Lance Albertson <lance@osuosl.org>
This commit is contained in:
Lance Albertson 2019-07-10 17:38:43 -07:00
parent 16441178af
commit 782bfbfe64
1 changed files with 0 additions and 10 deletions

View File

@ -107,16 +107,6 @@ when 'rhel'
action deps_action
end
# TODO(sc): workaround to add $contentdir
# removable when centos is updated
bash 'yum_contentdir' do
cwd ::File.dirname('/etc/yum/vars')
code <<-EOH
echo 'centos' > /etc/yum/vars/contentdir
EOH
not_if { ::File.exist?('/etc/yum/vars/contentdir') }
end
package 'centos-release-qemu-ev' do
action :upgrade
end