We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think that it is reasonable to add an option to the puppetdb query functions to cache the last returned value by the query.
This is useful in cases where we would like to avoid failures in puppet agent runs during puppetdb temporary unavailability.
For example, I would like to fail the following puppet code only if it didn't return value for the past hour:
$proxy_ip = query_nodes('Class["Proxy::Server"]', 'ec2_public_ipv4')
Otherwise, I would like to receive the last successful entry for this fact.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think that it is reasonable to add an option to the puppetdb query functions to cache the last returned value by the query.
This is useful in cases where we would like to avoid failures in puppet agent runs during puppetdb temporary unavailability.
For example, I would like to fail the following puppet code only if it didn't return value for the past hour:
Otherwise, I would like to receive the last successful entry for this fact.
The text was updated successfully, but these errors were encountered: