Puppet Class: profile::librenms::web
- Defined in:
- modules/profile/manifests/librenms/web.pp
Summary
profile to configure librenms websiteOverview
SPDX-License-Identifier: Apache-2.0
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'modules/profile/manifests/librenms/web.pp', line 3
class profile::librenms::web {
require profile::librenms
$sitename = $profile::librenms::sitename
$install_dir = $profile::librenms::install_dir
$active_server = $profile::librenms::active_server
$auth_mechanism = $profile::librenms::auth_mechanism
$ssl_settings = ssl_ciphersuite('apache', 'strong', true)
acme_chief::cert { 'librenms':
puppet_svc => 'apache2',
}
if $auth_mechanism == 'sso' {
include profile::idp::client::httpd
} else {
httpd::site { $sitename:
content => template('profile/librenms/apache.conf.erb'),
}
}
}
|