Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Update PDK, spec tests, and docs #1

Merged
merged 4 commits into from
Apr 3, 2019
Merged

Update PDK, spec tests, and docs #1

merged 4 commits into from
Apr 3, 2019

Conversation

genebean
Copy link
Contributor

@genebean genebean commented Apr 2, 2019

  • Updated to PDK 1.9.1
    • 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
  • Documentation and top-scope removal
    • 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
  • Swtiched to facts from the puppet agent
  • Add basic testing

genebean added 4 commits April 2, 2019 09:02
- 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
@genebean
Copy link
Contributor Author

genebean commented Apr 2, 2019

@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.

@genebean
Copy link
Contributor Author

genebean commented Apr 2, 2019

In contrast to #2, this PR does not make a parameter available to set the conf dir. It instead pulls it from the agent.

@genebean
Copy link
Contributor Author

genebean commented Apr 2, 2019

Also, I updated the labels in this repo to match what's expected by the changelog generator.

Copy link
Contributor

@glennsarti glennsarti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ship

@glennsarti glennsarti merged commit fc47616 into master Apr 3, 2019
@glennsarti glennsarti deleted the updates_from_gene branch April 3, 2019 01:45
@jonnytdevops
Copy link

jonnytdevops commented Apr 3, 2019

@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.

genebean added a commit that referenced this pull request Apr 3, 2019
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
@genebean
Copy link
Contributor Author

genebean commented Apr 3, 2019

See notes in #3 regarding @jonnytdevops points.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants