Alexander A. Klimov d6eda914f9 Vagrant: icinga_packages: include icinga-php-* from release repo
... as they're not snapshotted.
2021-07-15 19:20:26 +02:00

27 lines
808 B
Puppet

# Class: icinga_packages
#
# This class adds the YUM repository for the Icinga packages.
#
# Sample Usage:
#
# include icinga_packages
#
class icinga_packages {
yumrepo { 'icinga_packages':
baseurl => "https://packages.icinga.com/epel/${::operatingsystemmajrelease}/snapshot/",
enabled => '1',
gpgcheck => '1',
gpgkey => 'https://packages.icinga.com/icinga.key',
descr => "Icinga Repository - ${::architecture}"
}
yumrepo { 'icinga_release_packages':
baseurl => "https://packages.icinga.com/epel/${::operatingsystemmajrelease}/release/",
enabled => '1',
gpgcheck => '1',
gpgkey => 'https://packages.icinga.com/icinga.key',
descr => "Icinga Repository - ${::architecture} (release)",
includepkgs => 'icinga-php-*'
}
}