123456789101112131415161718192021222324 |
- # == Class icingaweb2::preinstall
- #
- class icingaweb2::preinstall {
- if is_function_available('assert_private') {
- assert_private()
- } else {
- private()
- }
- if $::icingaweb2::manage_repo and $::icingaweb2::install_method == 'package' {
- case $::operatingsystem {
- 'RedHat', 'CentOS': {
- ::icingaweb2::preinstall::redhat { 'icingaweb2':
- pkg_repo_version => $::icingaweb2::pkg_repo_version,
- }
- }
- default: {
- fail "Managing repositories for ${::operatingsystem} is not supported."
- }
- }
- }
- }
|