For Ubuntu systems, switch to adding the Icinga PPA instead of the release snapshot apt repo.
This commit is contained in:
parent
bbb2ed10f4
commit
d4794afa95
1 changed files with 4 additions and 10 deletions
|
@ -47,16 +47,10 @@ class icinga2::server::install::repos inherits icinga2::server {
|
|||
|
||||
#Ubuntu systems:
|
||||
'Ubuntu': {
|
||||
#Add the Icinga 2 release apt repo for Ubuntu systems:
|
||||
apt::source { "icinga2_ubuntu_${::lsbdistcodename}_release_apt":
|
||||
location => 'http://packages.icinga.org/ubuntu',
|
||||
release => "icinga-${::lsbdistcodename}",
|
||||
repos => 'main',
|
||||
required_packages => 'debian-keyring debian-archive-keyring',
|
||||
key => '34410682',
|
||||
key_source => 'http://packages.icinga.org/icinga.key',
|
||||
include_src => true
|
||||
}
|
||||
#Include the apt module's base class so we can...
|
||||
include apt
|
||||
#...use the apt module to add the Icinga 2 PPA from launchpad.net:
|
||||
apt::ppa { 'ppa:formorer/icinga': }
|
||||
}
|
||||
|
||||
#Fail if we're on any other OS:
|
||||
|
|
Loading…
Reference in a new issue