diff --git a/itchef/cookbooks/cpe_kernel_channel/resources/fedora.rb b/itchef/cookbooks/cpe_kernel_channel/resources/fedora.rb index 4af5263f..db90033f 100644 --- a/itchef/cookbooks/cpe_kernel_channel/resources/fedora.rb +++ b/itchef/cookbooks/cpe_kernel_channel/resources/fedora.rb @@ -34,8 +34,8 @@ cookbook_file '/etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial' do source 'centos_kernel/RPM-GPG-KEY-centosofficial' - owner 'root' - group 'root' + owner node.root_user + group node.root_group mode '0644' end @@ -43,7 +43,7 @@ yum_repository 'CentOS-BaseOS' do description "CentOS-#{release} - Base" - mirrorlist 'http://mirrorlist.centos.org/' + + mirrorlist 'http://vault.centos.org/' + "?release=#{release}&arch=$basearch&repo=BaseOS" fastestmirror_enabled true gpgkey 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial'