This message was deleted.
# bolt
s
This message was deleted.
b
what did you try, which commands?
p
Editing the
bolt-project.yaml
file, adding:
Copy code
- name: puppetlabs/stdlib
  version_requirement: '9.0.0'
and then running
bolt module install --force
b
bolt-project.yaml or bolt_project.yaml?
p
dash not underscore
b
and whats the bolt output?
p
Copy code
Unable to resolve modules: Puppetfile Resolver could not find compatible versions for possibility named "stdlib":
  In Puppetfile:
    puppetlabs-stdlib 9.0.0

    puppet-postfix >= 0 was resolved to Forge puppet-postfix-2.0.0, which depends on
      puppetlabs-stdlib >= 4.13.0 < 9.0.0

    newrelic-newrelic_infra >= 0 was resolved to Forge newrelic-newrelic_infra-0.16.1, which depends on
      puppetlabs-stdlib >= 4.2.0 <= 9.0.0
@bastelfreak Do you know specifically how to handle stdlib upgrades or are you just wondering?
b
as it says, two of your modules need to allow stdlib 9 first
I know one or two things about it
🙌 1
puppet-postfix does not allow stdlib 9, same for the newrelic_infra module
I dont have bolt available right now, I dont know if it has a CLI param to ignore the version constraints. But I recommend updating the modules first. there is a high chance that they are really not compatible with stdlib 9