voxpupuli / puppet-icinga2

Puppet module to manage Icinga 2
https://forge.puppet.com/icinga/icinga2
Apache License 2.0
61 stars 94 forks source link

Dependency icinga/icinga is deprecated. #793

Closed luitzifa closed 1 month ago

luitzifa commented 1 month ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

I am unable to install puppet-icinga2 6.0.0 (latest) together with puppet-icingaweb2 5.0.0 (latest).

What are you seeing

❯ mktemp -d
/tmp/tmp.Hand4YfqVs
❯ cd /tmp/tmp.Hand4YfqVs
❯ mkdir modules
❯ puppet module --modulepath modules install puppet-icingaweb2 --version 5.0.0
Notice: Preparing to install into /tmp/tmp.Hand4YfqVs/modules ...
Notice: Downloading from https://forgeapi.puppet.com ...
Notice: Installing -- do not interrupt ...
/tmp/tmp.Hand4YfqVs/modules
└─┬ puppet-icingaweb2 (v5.0.0)
  ├─┬ puppet-icinga (v6.0.0)
  │ ├── puppet-zypprepo (v5.0.0)
  │ └── puppetlabs-apt (v9.4.0)
  ├─┬ puppet-systemd (v7.1.0)
  │ └── puppetlabs-inifile (v6.1.1)
  ├── puppetlabs-concat (v9.0.2)
  ├── puppetlabs-stdlib (v9.6.0)
  └── puppetlabs-vcsrepo (v6.1.0)
❯ puppet module --modulepath modules install puppet-icinga2 --version 6.0.0
Notice: Preparing to install into /tmp/tmp.Hand4YfqVs/modules ...
Notice: Downloading from https://forgeapi.puppet.com ...
Error: Could not install module 'puppet-icinga2' (v6.0.0)
  Dependency 'icinga-icinga' (v4.2.1) would overwrite /tmp/tmp.Hand4YfqVs/modules/icinga
    Currently, 'puppet-icinga' (v6.0.0) is installed to that directory
    Use `puppet module install --ignore-dependencies` to install only this module

What behaviour did you expect instead

These modules should use the same dependencies.

Output log

Any additional information you'd like to impart

lbetz commented 1 month ago

Thx for your report.