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

Issues with puppet agent 6.8.0 #401

Closed
trenta opened this issue Aug 27, 2019 · 6 comments
Closed

Issues with puppet agent 6.8.0 #401

trenta opened this issue Aug 27, 2019 · 6 comments
Labels
bug Something isn't working

Comments

@trenta
Copy link

trenta commented Aug 27, 2019

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.8.0
  • Ruby:
  • Distribution: Ubuntu 18.04 LTS
  • Module version: 7.0.1

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

class { 'nodejs': }

What are you seeing

Puppet runs are failing on machines after upgrade to puppet agent 6.8.0 correcting installation

Output log

Notice: /Stage[main]/Nodejs::Install/Package[nodejs]/ensure: created (corrective)
Info: Package nodejs-dev is virtual, defaulting to nodejs
Notice: /Stage[main]/Nodejs::Install/Package[nodejs-dev]/ensure: removed (corrective)

Any additional information you'd like to impart

I haven't looked into this very far yet but it's happening everywhere I use the module and puppet agent has been upgraded to 6.8.0

@Dan33l
Copy link
Member

Dan33l commented Aug 27, 2019

Hi @trenta thank you for the report.

It looks this issue is confirmed on all Ubuntu versions with Puppet 6 :

All others pass acceptance tests:
https://travis-ci.org/voxpupuli/puppet-nodejs/builds/577306105

Can you investigate what is special with Ubuntu and Puppet 6 ?

@Dan33l Dan33l added the bug Something isn't working label Aug 27, 2019
@trenta
Copy link
Author

trenta commented Aug 27, 2019

I may get time. I wasn't effected by this when all puppet agents where 6.7.2

@trenta
Copy link
Author

trenta commented Aug 27, 2019

Actually I think the puppet 6.8.0 release notes show the issue. https://puppet.com/docs/puppet/latest/release_notes_puppet.html#virtual-packages-support-for-apt-dpkg
Specifically the virtual package support. See the output line from a puppet run.

Notice: /Stage[main]/Nodejs::Install/Package[nodejs]/ensure: created (corrective)
Info: Package nodejs-dev is virtual, defaulting to nodejs
Notice: /Stage[main]/Nodejs::Install/Package[nodejs-dev]/ensure: removed (corrective)

@Dan33l
Copy link
Member

Dan33l commented Aug 28, 2019

Ah yes probably.

@trenta can you propose a PR ?

@Dan33l
Copy link
Member

Dan33l commented Aug 28, 2019

This bug will probably be resolved by next release of puppet-agent:
https://tickets.puppetlabs.com/browse/PA-2402?focusedCommentId=680864#comment-680864

@trenta
Copy link
Author

trenta commented Aug 28, 2019

Yes I just saw that this morning. https://puppet.com/docs/puppet/latest/release_notes_puppet.html#puppet-resolved-issues-x.8.1

I've updated and tested and this problem is fixed.

@trenta trenta closed this as completed Aug 28, 2019
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