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

Complains about dependencies. #691

Open
gl00ten opened this issue Aug 29, 2017 · 1 comment
Open

Complains about dependencies. #691

gl00ten opened this issue Aug 29, 2017 · 1 comment
Labels
bug Something isn't working

Comments

@gl00ten
Copy link

gl00ten commented Aug 29, 2017

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 3.8,5
  • Ruby: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
  • Distribution: duno what this is. Ubuntu 16.04?
  • Module version: ├── puppet-collectd (v5.2.0)

How to reproduce (e.g Puppet code you use)

What are you seeing

Makes puppet complain about depencies.

lontra@HP-Z230:~/repos/operacoes-puppet/modules$ puppet module list --modulepath .
/home/lontra/repos/operacoes-puppet/modules
├── adrien-alternatives (v0.3.0)
├── ghoneycutt-hosts (v2.5.0)
├── pcfens-filebeat (v1.0.0)
├── puppet-archive (v1.3.0)
├── puppet-nginx (v0.6.0)
├── puppet-yum (v2.0.0)
├── puppetlabs-apache (v1.11.0)
├── puppetlabs-apt (v2.4.0)
├── puppetlabs-concat (v2.2.1)
├── puppetlabs-motd (v1.4.0)
├── puppetlabs-powershell (v2.1.1)
├── puppetlabs-registry (v1.1.4)
├── puppetlabs-stdlib (v4.19.0)
├── rodjek-logrotate (v1.1.1)
└── sapo_facts (???)
lontra@HP-Z230:~/repos/operacoes-puppet/modules$ 
lontra@HP-Z230:~/repos/operacoes-puppet/modules$ 
lontra@HP-Z230:~/repos/operacoes-puppet/modules$ 
lontra@HP-Z230:~/repos/operacoes-puppet/modules$ puppet module install puppet-collectd  --modulepath .Notice: Preparing to install into /home/lontra/repos/operacoes-puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
/home/lontra/repos/operacoes-puppet/modules
└─┬ puppet-collectd (v5.2.0)
  ├── puppet-yum (v2.0.0)
  ├── puppetlabs-apt (v2.4.0)
  ├── puppetlabs-concat (v2.2.1)
  └── puppetlabs-stdlib (v4.19.0)
lontra@HP-Z230:~/repos/operacoes-puppet/modules$ 
lontra@HP-Z230:~/repos/operacoes-puppet/modules$ 
lontra@HP-Z230:~/repos/operacoes-puppet/modules$ puppet module list --modulepath .
Warning: Missing dependency 'puppet-yum':
  'puppet-collectd' (v5.2.0) requires 'puppet-yum' (>= 0.9.15)
Warning: Missing dependency 'puppetlabs-apt':
  'puppet-collectd' (v5.2.0) requires 'puppetlabs-apt' (>= 2.2.0)
/home/lontra/repos/operacoes-puppet/modules
├── adrien-alternatives (v0.3.0)
├── ghoneycutt-hosts (v2.5.0)
├── pcfens-filebeat (v1.0.0)
├── puppet-archive (v1.3.0)
├── puppet-collectd (v5.2.0)
├── puppet-nginx (v0.6.0)
├── puppet-yum (v2.0.0)
├── puppetlabs-apache (v1.11.0)
├── puppetlabs-apt (v2.4.0)
├── puppetlabs-concat (v2.2.1)
├── puppetlabs-motd (v1.4.0)
├── puppetlabs-powershell (v2.1.1)
├── puppetlabs-registry (v1.1.4)
├── puppetlabs-stdlib (v4.19.0)
├── rodjek-logrotate (v1.1.1)
└── sapo_facts (???)
lontra@HP-Z230:~/repos/operacoes-puppet/modules$ 

What behaviour did you expect instead

Output log

Any additional information you'd like to impart

@juniorsysadmin juniorsysadmin added the bug Something isn't working label Sep 29, 2017
@juniorsysadmin
Copy link
Member

Seems like a problem that would be solved if this module used soft dependencies: https://docs.puppet.com/puppet/latest/style_guide.html#dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants