Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module dependency issue with puppetlabs-puppetdb >= 3.0.0 #11

Closed
alexanderfahlke opened this issue May 18, 2014 · 6 comments
Closed

Module dependency issue with puppetlabs-puppetdb >= 3.0.0 #11

alexanderfahlke opened this issue May 18, 2014 · 6 comments
Assignees

Comments

@alexanderfahlke
Copy link

The module dependencies are conflicting with the postgresql module.

puppetlabs-puppetdb depends on puppetlabs/postgresql (>= 3.1.0 <4.0.0)
puppet-cloudera depends on puppetlabs/postgresql (>=2.1.0 <3.0.0)

Could you please update the postgresql dependency?

Installing puppet-cloudera by ignoring the dependencies and manually add the modules is a workaround but a very ugly one and will mark puppetlabs-postgresql as invalid.

$ puppet module install puppetlabs-puppetdb
$ puppet module install --ignore-dependencies razorsedge-cloudera

$ puppet module install darin-zypprepo
$ puppet module install domcleal-augeasproviders
$ puppet module install nanliu-staging
$ puppet module install puppetlabs-java_ks
$ puppet module install stahnma-epel
$ puppet module install puppetlabs-mysql
$ puppet module list
Warning: Module 'puppetlabs-postgresql' (v3.3.3) fails to meet some dependencies:
  'razorsedge-cloudera' (v2.0.2) requires 'puppetlabs-postgresql' (>=2.1.0 <3.0.0)
/etc/puppet/modules
├── darin-zypprepo (v1.0.1)
├── domcleal-augeasproviders (v1.1.0)
├── nanliu-staging (v0.4.0)
├── puppetlabs-apt (v1.4.2)
├── puppetlabs-concat (v1.1.0)
├── puppetlabs-firewall (v1.1.1)
├── puppetlabs-inifile (v1.0.3)
├── puppetlabs-java_ks (v1.2.3)
├── puppetlabs-mysql (v2.2.3)
├── puppetlabs-postgresql (v3.3.3)  invalid
├── puppetlabs-puppetdb (v3.0.1)
├── puppetlabs-stdlib (v4.2.1)
├── razorsedge-cloudera (v2.0.2)
└── stahnma-epel (v0.0.6)

Note: I am not using postgresql as database.

@cryptographrix
Copy link

+1

Having to choose between puppetdb and using postgresql limits this module.

@razorsedge
Copy link
Owner

At issue is support for Puppet Enterprise 3.0 and 3.1. Until I can find a way to support the postgresql module shipped with those versions, I can't support puppetlabs-postgresql 3.x.

@bflad
Copy link

bflad commented Aug 21, 2014

I'm also +1 for finding a way to fix this issue. Seems like I'll need to fork and remove the postgres dependency (since we're not using it in our use case). Please let me know how I/we can assist.

@crawlik
Copy link

crawlik commented Sep 22, 2014

+1 run into the same problem and forked the project. Interested in a better long term solution.

@razorsedge
Copy link
Owner

Fixed in commit 1763ccc.

@razorsedge
Copy link
Owner

This is fixed in version 3.0.0 on the Forge.

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

No branches or pull requests

5 participants