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:
parent
16441178af
commit
782bfbfe64
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue