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

Convert documentation to puppet-strings #1412

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Aug 30, 2020

While this isn't perfect, it's a huge step in the direction.

@puppet-community-rangefinder
Copy link

nginx::config is a class

Breaking changes to this file MAY impact these 2 modules (near match):

nginx is a class

Breaking changes to this file WILL impact these 13 modules (exact match):
Breaking changes to this file MAY impact these 33 modules (near match):

nginx::package is a class

that may have no external impact to Forge modules.

nginx::package::debian is a class

that may have no external impact to Forge modules.

nginx::package::redhat is a class

that may have no external impact to Forge modules.

nginx::params is a class

Breaking changes to this file MAY impact these 1 modules (near match):

nginx::resource::geo is a type

that may have no external impact to Forge modules.

nginx::resource::location is a type

Breaking changes to this file WILL impact these 8 modules (exact match):
Breaking changes to this file MAY impact these 15 modules (near match):

nginx::resource::mailhost is a type

that may have no external impact to Forge modules.

nginx::resource::map is a type

that may have no external impact to Forge modules.

nginx::resource::server is a type

Breaking changes to this file WILL impact these 10 modules (exact match):
Breaking changes to this file MAY impact these 3 modules (near match):

nginx::resource::snippet is a type

that may have no external impact to Forge modules.

nginx::resource::streamhost is a type

that may have no external impact to Forge modules.

nginx::resource::upstream is a type

Breaking changes to this file WILL impact these 1 modules (exact match):
Breaking changes to this file MAY impact these 14 modules (near match):

nginx::resource::upstream::member is a type

that may have no external impact to Forge modules.

nginx::service is a class

Breaking changes to this file MAY impact these 1 modules (near match):

This module is declared in 10 of 575 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@@ -102,10 +153,10 @@
Optional[String] $ssl_trusted_cert = undef,
Optional[Integer] $ssl_verify_depth = undef,
Enum['on', 'off', 'only'] $starttls = 'off',
$protocol = undef,
Optional[Enum['imap', 'pop3', 'smtp']] $protocol = undef,
Copy link
Member Author

Choose a reason for hiding this comment

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

These are the only values allowed. Previously only documented but https://nginx.org/en/docs/mail/ngx_mail_core_module.html#protocol agrees.

Optional[String] $auth_http = undef,
Optional[String] $auth_http_header = undef,
String $xclient = 'on',
Enum['on', 'off'] $xclient = 'on',
Copy link
Member Author

Choose a reason for hiding this comment

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

Same here: previously documented and docs agree: https://nginx.org/en/docs/mail/ngx_mail_proxy_module.html#xclient

@ekohl
Copy link
Member Author

ekohl commented Aug 30, 2020

Updated, didn't realize there was some test passing in an invalid value.

@ekohl
Copy link
Member Author

ekohl commented Aug 30, 2020

Should have read more carefully, the other one was exactly the same situation.

@ekohl ekohl marked this pull request as draft August 30, 2020 22:20
@ekohl
Copy link
Member Author

ekohl commented Aug 30, 2020

I want to keep the parameter types out and leave that to #1413, will update later.

Copy link
Member

@ghoneycutt ghoneycutt left a comment

Choose a reason for hiding this comment

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

Awesome work @ekohl !!

Have you tested generating a REFERENCE.md?

While this isn't perfect, it's a huge step in the direction.
@ekohl ekohl marked this pull request as ready for review January 8, 2021 15:23
@ekohl
Copy link
Member Author

ekohl commented Jan 8, 2021

Rebased to resolve conflicts. I did generate one and it looks ok. I think this should now be merged and someone with time should further look into completing the documentation.

Copy link
Member

@bastelfreak bastelfreak left a comment

Choose a reason for hiding this comment

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

I guess we should merge that now and drop centos6 in another PR

@genebean
Copy link
Contributor

Old stuff was recently dropped - do you all want to merge as is or rebase and let test on w/o CentOS 6 and with Puppet 7?

@bastelfreak
Copy link
Member

I'm going to merge it to finally have this in master.

@bastelfreak bastelfreak merged commit 9c468b3 into voxpupuli:master Jan 22, 2021
@ekohl ekohl deleted the puppet-strings branch January 22, 2021 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants