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

Convert mongodb definition to custom resource #148

Open
shortdudey123 opened this issue Apr 17, 2017 · 5 comments
Open

Convert mongodb definition to custom resource #148

shortdudey123 opened this issue Apr 17, 2017 · 5 comments
Labels
Stale This is marked as stale and will be closed shortly
Milestone

Comments

@shortdudey123
Copy link
Contributor

No description provided.

@webframp
Copy link

webframp commented Aug 3, 2020

@tas50 (or others) with this cb stiil using a definition are you aware of any workarounds when using chefspec and chef 16 for issues like this:

     NoMethodError:
       undefined method `params' for nil:NilClass

Seems likely from this line: https://github.com/sous-chefs/mongodb/blob/master/definitions/mongodb.rb#L30 but it's possible it's something else.

We're not actually trying to spec out the mongodb_instance definition, just our local wrapper recipe stuff but it is still breaking our specs currently as we try to migrate to Chef 16.

@ramereth
Copy link
Contributor

ramereth commented Aug 3, 2020

@webframp from my experience, unfortunately not. The only option is to convert the definitions to custom resources.

@ehvidal
Copy link

ehvidal commented Aug 3, 2020

Do you guys think you are going to do the conversion soon?

@ramereth
Copy link
Contributor

ramereth commented Aug 5, 2020

I'll bring this up in our next sous-chefs meeting tomorrow. You're welcome to join (happens around 9:30AM PDT). See #sous-chefs on the community slack.

@github-actions
Copy link

github-actions bot commented Aug 6, 2021

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

@github-actions github-actions bot added the Stale This is marked as stale and will be closed shortly label Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale This is marked as stale and will be closed shortly
Projects
None yet
Development

No branches or pull requests

4 participants