Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394791
redhat.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
redhat.pp
View Options
# == Define: icingaweb2::preinstall::redhat
#
define
icingaweb2
::
preinstall
::
redhat
(
$pkg_repo_version,
)
{
case
$::operatingsystem
{
'RedHat'
,
'CentOS'
,
'Scientific'
:
{
case
$pkg_repo_version
{
'release'
:
{
yumrepo
{
"ICINGA-${::icingaweb2::pkg_repo_version}"
:
baseurl
=>
$::icingaweb2::pkg_repo_release_url,
descr
=>
"ICINGA (${pkg_repo_version} builds for epel)"
,
enabled
=>
1
,
gpgcheck
=>
1
,
gpgkey
=>
$::icingaweb2::pkg_repo_release_key,
metadata_expire
=>
$::icingaweb2::pkg_repo_release_metadata_expire,
}
}
'snapshot'
:
{
yumrepo
{
"ICINGA-${::icingaweb2::pkg_repo_version}"
:
baseurl
=>
$::icingaweb2::pkg_repo_snapshot_url,
descr
=>
"ICINGA (${pkg_repo_version} builds for epel)"
,
enabled
=>
1
,
gpgcheck
=>
1
,
gpgkey
=>
$::icingaweb2::pkg_repo_snapshot_key,
metadata_expire
=>
$::icingaweb2::pkg_repo_snapshot_metadata_expire,
}
}
default
:
{}
}
}
# TODO 'Debian': {}
# TODO 'Ubuntu': {}
# TODO 'Fedora': {}
# TODO 'Amazon': {}
default
:
{
# Already caught by icingaweb2::preinstall
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 7:29 PM (9 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399203
Attached To
R118 Puppet module to manage Icinga Web 2
Event Timeline
Log In to Comment