Icinga / puppet-icinga2-legacy

(legacy) Puppet module for Icinga 2 (EOL)
GNU General Public License v2.0
55 stars 93 forks source link

[dev.icinga.com #11712] Ido_mysql/Package[icinga2-ido-mysql] always trying to be installed before repo added #353

Open icinga-migration opened 8 years ago

icinga-migration commented 8 years ago

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11712

Created by plarivee on 2016-05-02 13:52:45 +00:00

Assignee: (none) Status: New Target Version: (none) Last Update: 2016-05-02 23:59:53 +00:00 (in Redmine)


when having the class handle the repo and also using IDO with mysql, the ido packages always wants to be intalled before the repo.

Using @ class { 'icinga2': db_type => $db_type, db_host => $db_host, db_port => $db_port, db_name => $ido_db_name, db_user => $ido_db_user, db_pass => $ido_db_password, manage_database => $manage_database, manage_repos => true, }@

icinga-migration commented 8 years ago

Updated by plarivee on 2016-05-02 13:53:21 +00:00

Ubuntu 14.04 puppet 3.8.7

icinga-migration commented 8 years ago

Updated by plarivee on 2016-05-02 23:59:54 +00:00

to install correctly I have to either stage it first before main or add it first with this

  Apt::Ppa['ppa:formorer/icinga']-> Package <| title != 'software-properties-common' |>
  include apt  
  apt::ppa { 'ppa:formorer/icinga': 
    package_manage => true,
  }

Still wants to install the ido packages before the ppa if I add a require => Apt::ppa[] to the class{'icinga2'}

Did make the depedency graph but couldn't find where it made that ido package installed before evrything even when stated to install the ppa before the Icinga class.