Vagrant/Puppet: prevent man-in-the-middle attacks

This commit is contained in:
Alexander A. Klimov 2018-06-29 10:38:23 +02:00
parent 966148e8f0
commit db816d3d0b
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ RELEASEVER=$(rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release))
case $RELEASEVER in
6|7)
PUPPET="http://yum.puppetlabs.com/puppetlabs-release-el-${RELEASEVER}.noarch.rpm"
PUPPET="https://yum.puppetlabs.com/puppetlabs-release-el-${RELEASEVER}.noarch.rpm"
;;
*)
echo "Unknown release version: $RELEASEVER" >&2

View File

@ -15,7 +15,7 @@
class epel {
yumrepo { 'epel':
mirrorlist => "http://mirrors.fedoraproject.org/mirrorlist?repo=epel-${::operatingsystemmajrelease}&arch=${::architecture}",
mirrorlist => "https://mirrors.fedoraproject.org/mirrorlist?repo=epel-${::operatingsystemmajrelease}&arch=${::architecture}",
enabled => '1',
gpgcheck => '0',
descr => "Extra Packages for Enterprise Linux ${::operatingsystemmajrelease} - ${::architecture}"

View File

@ -8,10 +8,10 @@
#
class icinga_packages {
yumrepo { 'icinga_packages':
baseurl => "http://packages.icinga.com/epel/${::operatingsystemmajrelease}/snapshot/",
baseurl => "https://packages.icinga.com/epel/${::operatingsystemmajrelease}/snapshot/",
enabled => '1',
gpgcheck => '1',
gpgkey => 'http://packages.icinga.com/icinga.key',
gpgkey => 'https://packages.icinga.com/icinga.key',
descr => "Icinga Repository - ${::architecture}"
}
}