Skip to content

Fix puppet-resource_api gem dependency - #733

Draft
alexjfisher wants to merge 1 commit into
OpenVoxProject:8.xfrom
alexjfisher:gemspec_resource_api
Draft

alexjfisher wants to merge 1 commit into
OpenVoxProject:8.xfrom
alexjfisher:gemspec_resource_api

Conversation

@alexjfisher

@alexjfisher alexjfisher commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Openvox 8 is explicitly packaged with puppet-resource_api 1.9.2.
(See packaging/configs/components/puppet-resource_api.json)
This conflicted with the declared dependency of the openvox gem, (that
required at least version 2.x)

Openvox 8 is explicitly packaged with `puppet-resource_api` `1.9.2`.
(See `packaging/configs/components/puppet-resource_api.json`)
This conflicted with the declared dependency of the `openvox` gem, (that
required at least version `2.x`)
Comment thread Gemfile
gem "openfact", *location_for(ENV['OPENFACT_LOCATION'] || [">= 5.0", "< 7"])
gem "semantic_puppet", *location_for(ENV['SEMANTIC_PUPPET_LOCATION'] || ["~> 1.0"])
gem "puppet-resource_api", *location_for(ENV['RESOURCE_API_LOCATION'] || ["~> 2.0"])
gem "puppet-resource_api", *location_for(ENV['RESOURCE_API_LOCATION'] || ['>= 1.9.2', '< 2.0'])

@alexjfisher alexjfisher Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nmburgan Or should we also allow 2.x as a Gem dependency? Even though we ship the agent packages with 1.9.2. (2.0 technically only states support for Puppet 7 was dropped).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to check what, if any, testing we have. But given OV9 doesn’t have many core changes and nobody has complained, I’d guess 2.x is probably safe.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is specifically a PR against the 8.x branch. I think main is fine, as there's no conflict there between its Gemspec and

{"url":"https://github.com/openvoxproject/puppet-resource_api.git","ref":"v2.0.1"}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I just mean that since we didn’t run into any problems with 2.x on OV9, we probably won’t run into any on OV8 either, I’d guess

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants