Commit 7459ebc1 authored by Olav Morken's avatar Olav Morken

Fix verification of PuppetDB certificate.

parent c3a54e9b
......@@ -47,7 +47,7 @@ def clean_node(node):
settings.puppetdb_port)
with checked_http('Deleting from PuppetDB'):
r = requests.post(puppetdb_url, cert=cert, verify=False, data=json.dumps(data), headers=headers)
r = requests.post(puppetdb_url, cert=cert, verify=settings.puppet_ca, data=json.dumps(data), headers=headers)
r.raise_for_status()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment