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

Puppet plugin can get data from puppetdb-api #1194

Closed
wants to merge 2 commits into from
Closed

Puppet plugin can get data from puppetdb-api #1194

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 19, 2014

Changed puppet data source from ralph-db to defined chain, which is this:
The chain:

  • try get data from puppetdb-api
  • then try get data from ralph-db

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) when pulling 4bd956b on xliiv:puppet-api into 4c05d48 on allegro:develop.

msg = "PUPPET_API_JSON_CERTS is not set"
raise NotConfiguredError(msg)
for attr in ['local_cert', 'local_cert_key', 'ca_cert']:
value = puppet_api_json_certs.get(attr, None)
Copy link
Contributor

Choose a reason for hiding this comment

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

None here is not required. It's default value when specified key doesn't exist.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) when pulling 5782301 on xliiv:puppet-api into 4c05d48 on allegro:develop.

@ghost ghost closed this Nov 20, 2014
This pull request was closed.
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.

2 participants