diff --git a/.puppet/modules/icinga_packages/manifests/init.pp b/.puppet/modules/icinga_packages/manifests/init.pp index 7e3e8d188..b6e46960a 100644 --- a/.puppet/modules/icinga_packages/manifests/init.pp +++ b/.puppet/modules/icinga_packages/manifests/init.pp @@ -8,7 +8,7 @@ # class icinga_packages { yumrepo { 'icinga_packages': - baseurl => 'http://packages.icinga.org/epel/6/snapshot/', + baseurl => "http://packages.icinga.org/epel/${::operatingsystemmajrelease}/snapshot/", enabled => '1', gpgcheck => '1', gpgkey => 'http://packages.icinga.org/icinga.key',