From 447eec9eec68f884875ab754405c439f73a8cdb0 Mon Sep 17 00:00:00 2001 From: sanfrancrisko Date: Thu, 16 Sep 2021 17:41:27 +0100 Subject: [PATCH 1/2] Update CHANGELOG for 0.4.0 --- CHANGELOG.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b756173b..0c03bf19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.0] + +### Changed + +- The Puppet Content templates shipped in 0.4.0 and the handling of templates in 0.4.0 is _not_ backward compatible with templates which do not have `id`, `author`, AND `version` defined in their metadata + +### Added + +- [(GH-183)](https://github.com/uppetlabs/pdkgo/issues/183) `pct new` handles namespaced templates - [(GH-184)](https://github.com/uppetlabs/pdkgo/issues/184) `pct install` works against remote `tar.gz` files - [(GH-185)](https://github.com/puppetlabs/pdkgo/issues/185) `pct build` validates pct-config.yml - [(GH-167)](https://github.com/puppetlabs/pdkgo/issues/167) Implement `pct install` CLI command +- [(TEMPLATES-17)](https://github.com/puppetlabs/baker-round/issues/17) Ensure `puppet-content-template` includes the author key in the scaffolded config file +- [(TEMPLATES-18)](https://github.com/puppetlabs/baker-round/issues/18) Ensure all default templates have their author set to `puppetlabs` ## [0.3.0] @@ -54,7 +65,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [(GH-29)](https://github.com/puppetlabs/pdkgo/issues/29) Error if template not found -[Unreleased]: https://github.com/puppetlabs/pdkgo/compare/0.3.0..main +[Unreleased]: https://github.com/puppetlabs/pdkgo/compare/0.4.0..main +[0.4.0]: https://github.com/puppetlabs/pdkgo/releases/tag/0.3.0 [0.3.0]: https://github.com/puppetlabs/pdkgo/releases/tag/0.3.0 [0.2.0]: https://github.com/puppetlabs/pdkgo/releases/tag/0.2.0 [0.1.0]: https://github.com/puppetlabs/pdkgo/releases/tag/0.1.0 From 6a912d87da8ddf291f79193efe42ae73aa38a930 Mon Sep 17 00:00:00 2001 From: sanfrancrisko Date: Fri, 17 Sep 2021 10:58:55 +0100 Subject: [PATCH 2/2] (MAINT) Update README refs with namespaced tmpl format --- README.md | 59 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index fd27b016..0a6957c9 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ If we `cd` in to the module root dir, everything will get deployed with the corr ### **STEP 3:** Add a Github Actions Workflow Want to know what configurable parameters are availble for a template and their defaults? -Run `pct new --info `: +Run `pct new --info /`: ![new_info](docs/_resources/new_info.gif) @@ -123,43 +123,43 @@ pct new --list Example output: ```bash - DISPLAYNAME | NAME | TYPE ---------------------------------+-------------------------+---------- - | | - Bolt Plan | bolt-plan | item - Bolt Project | bolt-project | project - Bolt PowerShell Task | bolt-pwsh-task | item - Bolt YAML Plan | bolt-yaml-plan | item - Puppet Module Managed Gemfile | git-attributes | item - Puppet Class | puppet-class | item - Puppet Content Template | puppet-content-template | project - Puppet Defined Type | puppet-defined-type | item - Puppet Fact | puppet-fact | item - Puppet Module | puppet-module | project - Puppet Resource API Provider | rsapi-provider | item - Puppet Resource API Transport | puppet-transport | item + DISPLAYNAME | AUTHOR | NAME | TYPE +--------------------------------+------------+-------------------------+------ + | | | + Bolt Plan | puppetlabs | bolt-plan | item + Bolt Project | puppetlabs | bolt-project | project + Bolt PowerShell Task | puppetlabs | bolt-pwsh-task | item + Bolt YAML Plan | puppetlabs | bolt-yaml-plan | item + Puppet Module Managed Gemfile | puppetlabs | git-attributes | item + Puppet Class | puppetlabs | puppet-class | item + Puppet Content Template | puppetlabs | puppet-content-template | project + Puppet Defined Type | puppetlabs | puppet-defined-type | item + Puppet Fact | puppetlabs | puppet-fact | item + Puppet Module | puppetlabs | puppet-module | project + Puppet Resource API Provider | puppetlabs | rsapi-provider | item + Puppet Resource API Transport | puppetlabs | puppet-transport | item ``` Using the available templates above, its time to generate some content. ``` bash -pct new