Skip to content
This repository has been archived by the owner on Apr 16, 2018. It is now read-only.

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

Open
icinga-migration opened this issue May 2, 2016 · 2 comments
Labels

Comments

@icinga-migration
Copy link

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
Copy link
Author

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

Ubuntu 14.04
puppet 3.8.7

@icinga-migration
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant