Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8390983
install.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
819 B
Subscribers
None
install.pp
View Options
# @summary
# This class handles the installation of the Icinga 2 package.
# On Windows only chocolatey is supported as installation source.
#
# @api private
#
class
icinga2
::
install
{
assert_private
()
$package_name
=
$::icinga2::globals::package_name
$manage_package
=
$::icinga2::manage_package
$cert_dir
=
$::icinga2::globals::cert_dir
$conf_dir
=
$::icinga2::globals::conf_dir
$user
=
$::icinga2::globals::user
$group
=
$::icinga2::globals::group
if
$manage_package
{
if
$::osfamily
==
'windows'
{
Package
{
provider
=>
chocolatey
,
}
}
package
{
$package_name:
ensure
=>
installed
,
before
=>
File
[
$cert_dir,
$conf_dir],
}
}
file
{
[
$cert_dir,
$conf_dir]:
ensure
=>
directory
,
owner
=>
$user,
group
=>
$group,
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Jun 4 2025, 6:37 PM (14 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3378596
Attached To
rSPICI Icinga 2 Puppet Module
Event Timeline
Log In to Comment