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

(PDK-1545) Include template-ref in module generation output #840

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

rodjek
Copy link
Contributor

@rodjek rodjek commented Feb 3, 2020

Using the default template (no saved answer, no cli override):

pdk (INFO): Creating new module: foo
pdk (INFO): Using the default template-uri and template-ref.
[✔] Resolving default Gemfile dependencies.
pdk (INFO): Module 'foo' generated at path '/home/tsharpe/code/puppetlabs/pdk/foo'.
pdk (INFO): In your module directory, add classes with the 'pdk new class' command.

Specifying the template-ref or template-url in the cli:

pdk (INFO): Creating new module: foo
pdk (INFO): Using the specified template-url and template-ref 'https://github.com/puppetlabs/pdk-templates#1.10.0'.
[✔] Resolving default Gemfile dependencies.
pdk (INFO): Module 'foo' generated at path '/home/tsharpe/code/puppetlabs/pdk/foo'.
pdk (INFO): In your module directory, add classes with the 'pdk new class' command.

Using the value saved in the answers:

pdk (INFO): Creating new module: foo
pdk (INFO): Using the saved template-url and template-ref 'https://github.com/puppetlabs/pdk-templates#1.10.0'.
[✔] Resolving default Gemfile dependencies.
pdk (INFO): Module 'foo' generated at path '/home/tsharpe/code/puppetlabs/pdk/foo'.
pdk (INFO): In your module directory, add classes with the 'pdk new class' command.

@rodjek rodjek requested a review from a team as a code owner February 3, 2020 00:16
@coveralls
Copy link

coveralls commented Feb 3, 2020

Coverage Status

Coverage increased (+0.01%) to 91.003% when pulling f6b6d5a on rodjek:pdk-1545 into b68a249 on puppetlabs:master.

spec/unit/pdk/generate/module_spec.rb Outdated Show resolved Hide resolved
@rodjek rodjek merged commit 4c79619 into puppetlabs:master Feb 3, 2020
@rodjek rodjek deleted the pdk-1545 branch February 3, 2020 03:05
@rodjek rodjek added this to the 1.16.0 milestone Feb 3, 2020
@rodjek rodjek added the feature label Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants