-
Notifications
You must be signed in to change notification settings - Fork 104
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
(PDK-506) pdk new provider #409
Conversation
This requires puppetlabs/pdk-templates#13 to work. |
03f186e
to
ce58c5e
Compare
Currently this still needs two manual interventions to work:
The configuration in
|
X-Post from the Also, is there a reason why we don't just put those .sync.yml lines into the module skeleton? |
I don't think that the gem is ready yet for wide spread release. At one point in the next few months, I expect that to change, but until then, it's something folks will have to carry locally. Changing the default mock type is something I wanted to do for a long time, but it'll require more work than appropriate for this PR set. |
This is required for generators to have guard clauses if they cannot be applied in a specific situation.
This implements `pdk new provider` command to support use of the Resource API in modules. This requires the template changes from puppetlabs/pdk-templates#13 See the README on https://github.com/puppetlabs/puppet-resource_api for details
ce58c5e
to
3495943
Compare
The new version now checks for some preconditions in the |
3495943
to
68eba30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DavidS I'm going to merge this to get this in. I see the dip in coverage as acceptable, b/c most of it is a large if/else block that checks for the pre-conditions, this will likely go away when we make the feature official.
No description provided.