-
Notifications
You must be signed in to change notification settings - Fork 8
Conversation
- Ran `pdk convert` to get this udpated to the current version of the PDK - Updated metadata.json to allow Puppet 6 - Fixed open-ended module requirements per `pdk validate` - Fixed parameter ordering per `pdk validate` - Added `.sync.yml`
- Updated the readme to reference REFERENCE.md - Added badges to the readme - Moved documentaion from the readme to `init.pp` - Added basic docs to `windows_certificate.pp` - Generated REFERENCE.md - Removed top-scope from fact references and changed to structured facts
@jonnytdevops I saw you had an open branch on this repo too... this PR includes a similar fix to what you had done but uses formal facts from the Puppet Agent instead. As a result, I just wanted to put this on your radar. |
In contrast to #2, this PR does not make a parameter available to set the conf dir. It instead pulls it from the agent. |
Also, I updated the labels in this repo to match what's expected by the changelog generator. |
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.
@glennsarti @genebean The fact used in this PR assumes the use of the puppet-agent module, which isn't something we're in a position to immediately deploy on user workstations. So that we can pin to a production SHA, I'd be grateful if another approach was used. |
PR #1 put to use facts that I mistakenly thought came from the Puppet agent itself. This commit documents that those facts instead are provided by puppetlabs-puppet_agent via https://github.com/puppetlabs/puppetlabs-puppet_agent/blob/master/lib/facter/settings.rb
See notes in #3 regarding @jonnytdevops points. |
pdk convert
to get this udpated to the current version of the PDKpdk validate
pdk validate
.sync.yml
init.pp
windows_certificate.pp