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

Add a dependency for treydock/gpg #143

Closed
everestx opened this issue May 26, 2015 · 6 comments
Closed

Add a dependency for treydock/gpg #143

everestx opened this issue May 26, 2015 · 6 comments

Comments

@everestx
Copy link

On Redhat systems, the nodejs::repo::nodesource::yum class uses a custom gpg_key resource type. By default, this module is not specified in the dependency list. It appears to be a hard dependency for yum based package managers.

everestx pushed a commit to everestx/puppet-nodejs that referenced this issue May 26, 2015
@igalic
Copy link
Contributor

igalic commented May 27, 2015

is that a _hard_ dependency?

@juniorsysadmin
Copy link
Member

This isn't hard dependency. In some upcoming pull requests I will get rid of this dependency entirely by using new parameters in yum_repo making Puppet 3.6.x the minimum Puppet version.

@juniorsysadmin
Copy link
Member

Aside: gpg_key currently appears to be broken when using Facter 2 or above. treydock/puppet-gpg_key#6

@jantman
Copy link

jantman commented Jul 31, 2015

@igalic is there any documentation re: metadata.json and hard vs soft dependencies? I just spent some time trying to figure out why we were getting Invalid resource type gpg_key errors, and only discovered this dependency by looking at the source, and at the wayyyyyy bottom of the README.

I'd assumed that if a module was using metadata.json, that would contain all dependencies, period...

@juniorsysadmin
Copy link
Member

@jantman http://docs.puppetlabs.com/guides/style_guide.html#dependencies . I wish there was a solution with dependency-sets depending on osfamily, but sadly there isn't at the moment...

@nibalizer
Copy link
Member

We could agree to set up a hash of 'indirect dependencies' inside metadata.json. cc @ryanycoleman

cegeka-jenkins pushed a commit to cegeka/puppet-nodejs that referenced this issue Oct 23, 2017
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

No branches or pull requests

5 participants