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

Improved handling of changes to sensu::etc_dir #1280

Merged
merged 1 commit into from
Oct 28, 2020
Merged

Improved handling of changes to sensu::etc_dir #1280

merged 1 commit into from
Oct 28, 2020

Conversation

treydock
Copy link
Collaborator

Pull Request Checklist

Description

Add support for changing etc_dir in the sensu class. Previously changing that value would move configs but not tell the Sensu daemons where to find the configs.

This handling only works with systemd based sytems, adds dependency on campotcamp/systemd

Added a few improvements to documentation around sensu class and how to properly ensure agents can communicate with backend API.

@treydock treydock requested a review from ghoneycutt October 23, 2020 13:45
@treydock treydock force-pushed the etc_dir branch 2 times, most recently from 229cb8b to bf0923e Compare October 23, 2020 15:56
README.md Show resolved Hide resolved
spec/acceptance/00_backend_spec.rb Show resolved Hide resolved
spec/acceptance/01_agent_spec.rb Show resolved Hide resolved
@treydock
Copy link
Collaborator Author

The tests in this PR will continue to fail until #1281 is merged and this is rebased with those changes.

manifests/agent.pp Outdated Show resolved Hide resolved
manifests/backend.pp Outdated Show resolved Hide resolved
@ghoneycutt
Copy link
Collaborator

Added a lint knit since you have to rebase anyhow.

@treydock
Copy link
Collaborator Author

This PR was rebased with fixes from #1281

@treydock treydock force-pushed the etc_dir branch 5 times, most recently from 676caf5 to 391223b Compare October 27, 2020 17:34
This handling only works with systemd based sytems, adds dependency on campotcamp/systemd

Fix unit tests to work with latest Puppet 6 release
@ghoneycutt ghoneycutt mentioned this pull request Oct 28, 2020
@ghoneycutt ghoneycutt merged commit 81a9ad8 into master Oct 28, 2020
@ghoneycutt ghoneycutt deleted the etc_dir branch October 28, 2020 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants