title: Struggling to Install Puppetserver with yum on CentOS7
body: <p>I am trying to install puppetserver on CentOS7. I ran the following commands to first enable the puppet platform as instructed on <a href="https://puppet.com/docs/puppet/7.4/install_puppet.html#install_puppet" rel="nofollow noreferrer">https://puppet.com/docs/puppet/7.4/install_puppet.html#install_puppet</a> :</p>
  <pre><code>sudo rpm -Uvh https://yum.puppet.com/puppet7-release-el-7.noarch.rpm
  yum install puppetserver -y 
  </code></pre>
  <p>I get the following error</p>
  <pre><code>    http://yum.puppetlabs.com/puppet7/el/7/x86_64/puppet-agent-7.4.1-1.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=puppet7 clean metadata5 MB  00:00:13 ETA
  Trying other mirror.
  (9/12): net-tools-2.0-0.25.20131004git.el7.x86_64.rpm                                                                                                                                      | 306 kB  00:00:03
  puppetserver-7.0.3-1.el7.noarc FAILED                                                      53% [==========================================-                                     ] 7.8 MB/s |  65 MB  00:00:07 ETA
  http://yum.puppetlabs.com/puppet7/el/7/x86_64/puppetserver-7.0.3-1.el7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=puppet7 clean metadata5 MB  00:00:07 ETA
  Trying other mirror.
  (10/12): java-1.8.0-openjdk-headless-1.8.0.282.b08-1.el7_9.x86_64.rpm                                                                                                                      |  33 MB  00:00:15
  
  
  Error downloading packages:
    puppet-agent-7.4.1-1.el7.x86_64: [Errno 256] No more mirrors to try.
    puppetserver-7.0.3-1.el7.noarch: [Errno 256] No more mirrors to try.
  </code></pre>
  <p>What I have tried already:</p>
  <ul>
  <li>I installed other dependencies such as git and vim and had no problems with the installation using yum.</li>
  <li>I also ran <code>yum --enablerepo=puppet7 clean metadata5</code>and <code>yum clean all</code> too and tried installing puppet server straight after which failed to work also.</li>
  <li>Also tried running the latest version <code>sudo rpm -Uvh https://yum.puppet.com/puppet7-release-el-8.noarch.rpm</code>, changed <strong>el7</strong> to <strong>el8</strong> and same issue persisted.</li>
  </ul>
  <p>Any suggestions please?</p>