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

auditbeat::modules string instead of object #16

Open
cdenneen opened this issue Feb 24, 2021 · 1 comment · May be fixed by #17
Open

auditbeat::modules string instead of object #16

cdenneen opened this issue Feb 24, 2021 · 1 comment · May be fixed by #17

Comments

@cdenneen
Copy link
Contributor

Running through bunch of tests and this keeps coming up but the default should be undef not sure why this is happening:

       Error: /Stage[main]/Auditbeat::Config/File[/etc/auditbeat/auditbeat.yml]/content: change from '{md5}64658e557c03a8315aeff8cbf5a4cd44' to '{md5}898ab0299de9d13a9aec5c978de66773' failed: Execution of '/usr/share/auditbeat/bin/auditbeat test config -c /etc/auditbeat/auditbeat.yml20210224-8487-jzrsbj' returned 1: Exiting: error reading configuration file: required 'object', but found 'string' in field 'auditbeat.modules' (source:'/etc/auditbeat/auditbeat.yml20210224-8487-jzrsbj')
       Warning: /Stage[main]/Auditbeat::Service/Service[auditbeat]: Skipping because of failed dependencies
@cdenneen
Copy link
Contributor Author

Without any modules specified... this currently writes out as which appears to be the culprit:

...
auditbeat:
  modules: :undef

cdenneen added a commit to cdenneen/norisnetwork-auditbeat that referenced this issue Feb 24, 2021
This value as `undef` doesn't work and needs to be `[{}]` in order to fix noris-network#16
@cdenneen cdenneen linked a pull request Feb 24, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant