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

Default to no-ssl when PuppetDB on loopback #39

Merged
merged 2 commits into from
Jun 13, 2017

Conversation

npwalker
Copy link
Owner

@npwalker npwalker commented Jun 13, 2017

Prior to this commit, we'd connect to puppetdb over https and
not verify certs. This doesn't work prior to 2016.4 because
puppetdb has metrics behind a cert whitelist.

After this commit, we connect to puppetdb over http if it is
running on the same node as the metrics script. This avoids
the certificate issue.

For PE versions prior to 2016.4. you will not be able to collect
metrics on remote puppetdb systems.

Prior to this commit, we'd connect to puppetdb over https and
not verify certs.  This doesn't work prior to 2016.4 because
puppetdb has metrics behind a cert whitelist.

After this commit, we connect to puppetdb over http if it is
running on the same node as the metrics script.  This avoids
the certificate issue.

For PE versions prior to 2016.4. you will not be able to collect
metrics on remote puppetdb systems.
@npwalker npwalker force-pushed the default_to_no_ssl_when_puppetdb_on_loopback branch from f0c5ee0 to 0927de4 Compare June 13, 2017 18:53
@npwalker npwalker changed the title Default to no ssl when puppetdb on loopback Default to no SSL when PuppetDB on loopback Jun 13, 2017
@npwalker npwalker changed the title Default to no SSL when PuppetDB on loopback Default to no-ssl when PuppetDB on loopback Jun 13, 2017
@npwalker npwalker merged commit 0bd5d17 into master Jun 13, 2017
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.

None yet

1 participant