Skip to content

Conversation

@olevole
Copy link

@olevole olevole commented Apr 22, 2017

No description provided.

should contain_package('rabbitmq-server').with(
'ensure' => 'installed',
'name' => 'rabbitmq',
'provider' => 'freebsd'
Copy link
Contributor

Choose a reason for hiding this comment

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

This is why your test is failing, it's expecting pkgng.
Though I think provider isn't actually needed. Not sure if #493 will get merged, but would have to adjust slightly to get FreeBSD support working if / when that gets merged.

$package_name = 'rabbitmq'
$service_name = 'rabbitmq'
$package_provider = 'pkgng'
$version = '3.4.2'
Copy link
Contributor

Choose a reason for hiding this comment

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

Also, keep in mind that while $version is used internally as things work now, it's ignored when using the system package provider, so it doesn't really matter in this case.

@wyardley
Copy link
Contributor

ps - https://github.com/voxpupuli/puppet-rabbitmq/blob/master/metadata.json may also need to be updated (FreeBSD and OpenBSD support are both not currently included there)

Copy link
Contributor

@wyardley wyardley left a comment

Choose a reason for hiding this comment

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

metadata.json probably needs updating, and test needs to be fixed

@wyardley
Copy link
Contributor

wyardley commented Aug 24, 2017

@olevole would you like to rework this one? If not, I can give a quick go at reworking it and submitting a new PR.

@olevole
Copy link
Author

olevole commented Aug 24, 2017

@wyardley Hi Will!
Thank you very much for being able to spare time and for comments. I took into account your wishes. Unfortunately, I now have a very gigantic problem with time at the moment, sooner or later I will be able to finish and re-send patch. If you can quickly fix my shortcomings - don't wait for me, I'll be only too glad to do it and ready to test module on my FreeBSD cluster's. I apologize for the delay.

@wyardley
Copy link
Contributor

I can take a stab at it once #493 is merged, shouldn't be hard.

@wyardley
Copy link
Contributor

@olevole ps - one question, though - is pkgng the default provider in Puppet on FreeBSD? I'm pretty familiar with FreeBSD (a user for years), but haven't run Puppet with it before.

wyardley pushed a commit to wyardley/puppet-rabbitmq that referenced this pull request Aug 25, 2017
@wyardley
Copy link
Contributor

Haven't submitted yet, but check out this:
https://github.com/voxpupuli/puppet-rabbitmq/compare/master...wyardley:freebsd?expand=1
Will update it after we merge #493.

wyardley pushed a commit to wyardley/puppet-rabbitmq that referenced this pull request Aug 25, 2017
wyardley pushed a commit to wyardley/puppet-rabbitmq that referenced this pull request Aug 25, 2017
wyardley pushed a commit to wyardley/puppet-rabbitmq that referenced this pull request Aug 25, 2017
@wyardley wyardley mentioned this pull request Aug 25, 2017
@wyardley
Copy link
Contributor

reworking via #567

@wyardley wyardley closed this Aug 25, 2017
wyardley pushed a commit to wyardley/puppet-rabbitmq that referenced this pull request Aug 30, 2017
wyardley pushed a commit to wyardley/puppet-rabbitmq that referenced this pull request Aug 30, 2017
wyardley pushed a commit to wyardley/puppet-rabbitmq that referenced this pull request Aug 30, 2017
slm0n87 pushed a commit to slm0n87/puppet-rabbitmq that referenced this pull request Mar 7, 2019
cegeka-jenkins pushed a commit to cegeka/puppet-rabbitmq that referenced this pull request Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants