Skip to content
This repository was archived by the owner on Apr 21, 2023. It is now read-only.

Augeas will fail if the section is missing #60

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

chutzimir
Copy link
Contributor

This is a potential regression introduced in
6e049d4. If the [shclustering] is
completely missing from the server.conf, this augeas rule will fail to
create it.

Even if it is not a practical regression for a Splunk deployment, it's a
nice to make it complete for the benefit of anyone referring to this
code in the future.

This is a potential regression introduced in
6e049d4. If the `[shclustering]` is
completely missing from the `server.conf`, this augeas rule will fail to
create it.

Even if it is not a practical regression for a Splunk deployment, it's a
nice to make it complete for the benefit of anyone referring to this
code in the future.
@chutzimir chutzimir force-pushed the augeas-splunk-lens branch from 65af0af to 1405fb5 Compare June 27, 2022 04:02
@jorritfolmer jorritfolmer merged commit 6be25a2 into jorritfolmer:master Jun 27, 2022
@jorritfolmer
Copy link
Owner

Thanks! Merged!

Too bad we have no testcases for this. Looking around it seems rspec-puppet-augeas would be helpful to create one or two unit tests. I'm only subtly dropping this in the off-chance you happen to have some more time available to dig into this haha!

@chutzimir
Copy link
Contributor Author

Thanks! Merged!

Too bad we have no testcases for this. Looking around it seems rspec-puppet-augeas would be helpful to create one or two unit tests. I'm only subtly dropping this in the off-chance you happen to have some more time available to dig into this haha!

We can continue the effort in #61

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants