This message was deleted.
# forge-modules
s
This message was deleted.
r
ok, trying to narrow in, but it isn't making any more sense. However this seems to work reliably:
Copy code
/opt/puppetlabs/bin/puppet module  --modulepath "$HOME" install puppetlabs-concat -v '< 8.0.0
/opt/puppetlabs/bin/puppet module  --modulepath "$HOME" install theforeman-puppet
/opt/puppetlabs/bin/puppet module  --modulepath "$HOME" install puppetlabs-puppetdb
inifile and concat both have a single dep: stdlib, both claim < 10.0.0 for their stdlib dep. Nothing tried to pull in something 9+ even when it broke.
puppetdb before theforeman-puppet works
d
c
Man, I am on vacation. 🀣 🀣 🀣
r
Let me look closer for differing output:
Copy code
/opt/puppetlabs/bin/puppet module  --modulepath "$HOME" install puppetlabs-puppetdb
Notice: Preparing to install into /home/vagrant ...
Notice: Downloading from https://forgeapi.puppet.com ...
Notice: Installing -- do not interrupt ...
/home/vagrant
└─┬ puppetlabs-puppetdb (v7.13.0)
  β”œβ”€β”€ puppetlabs-firewall (v3.6.0)
  β”œβ”€β”¬ puppetlabs-inifile (v5.4.1)
  β”‚ └── puppetlabs-stdlib (v8.6.0)
  └─┬ puppetlabs-postgresql (v8.3.0)
    β”œβ”€β”€ puppet-systemd (v4.2.0)
    β”œβ”€β”€ puppetlabs-apt (v9.0.2)
    └── puppetlabs-concat (v7.4.0)

$ /opt/puppetlabs/bin/puppet module  --modulepath "$HOME" install theforeman-puppet
Notice: Preparing to install into /home/vagrant ...
Notice: Downloading from https://forgeapi.puppet.com ...
Notice: Installing -- do not interrupt ...
/home/vagrant
└─┬ theforeman-puppet (v17.1.0)
  β”œβ”€β”€ puppet-extlib (v6.2.0)
  β”œβ”€β”€ puppet-systemd (v4.2.0)
  β”œβ”€β”€ puppetlabs-concat (v7.4.0)
  └── puppetlabs-stdlib (v8.6.0)
c
Puppet has told us that many modules need to catch up. Further, some modules have functions that are duplicated in pre-existing modules, deprecating those. It’s going to take awhile to get all this caught up.
r
Copy code
$ /opt/puppetlabs/bin/puppet module  --modulepath "$HOME" install theforeman-puppet
Notice: Preparing to install into /home/vagrant ...
Notice: Downloading from https://forgeapi.puppet.com ...
Notice: Installing -- do not interrupt ...
/home/vagrant
└─┬ theforeman-puppet (v17.1.0)
  β”œβ”€β”€ puppet-extlib (v6.2.0)
  β”œβ”€β”¬ puppet-systemd (v4.2.0)
  β”‚ └── puppetlabs-inifile (v5.4.1)
  └─┬ puppetlabs-concat (v8.0.1)
    └── puppetlabs-stdlib (v8.6.0)

$ /opt/puppetlabs/bin/puppet module  --modulepath "$HOME" install puppetlabs-puppetdb
Notice: Preparing to install into /home/vagrant ...
Notice: Downloading from https://forgeapi.puppet.com ...
Error: Could not install module 'puppetlabs-puppetdb' (latest)
  Dependency 'cprice404-inifile' (v0.0.3) would overwrite /home/vagrant/inifile
    Currently, 'puppetlabs-inifile' (v5.4.1) is installed to that directory
    Use `puppet module install --ignore-dependencies` to install only this module
again, it looks like concat 7.4.0 vs 8.0.1 Β―\_(ツ)_/Β―
c
The folks on the modules team are rock stars. I think they’ll get it done.
r
indeed.
c
Note that to use puppetlabs-inifile, you’ll have to remove cprice-inifile. If you have two modules that each have prerequisites that cancel each other out, that isn’t a Puppet problem.
d
r
yes, but this is strictly not that. Ensuring that concat is < 8.0.0 works for whichever order you then pull in puppet or puppetdb modules. No wrong module (cprice) was ever installed. The error was that it was trying to, and that is the oddity.