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

Fix setting for max_procs #50

Merged
merged 1 commit into from
Nov 3, 2016
Merged

Fix setting for max_procs #50

merged 1 commit into from
Nov 3, 2016

Conversation

joshuaspence
Copy link
Contributor

After updating this module to version 0.8.0, I ran into the following error:

Error: Could not start Service[filebeat]: Execution of '/etc/init.d/filebeat start' returned 1: Exiting: error unpacking config data: can not convert 'string' into 'int' accessing 'max_procs' (source:'/etc/filebeat/filebeat.yml')
   ...fail!
Error: /Stage[main]/Filebeat::Service/Service[filebeat]/ensure: change from stopped to running failed: Could not start Service[filebeat]: Execution of '/etc/init.d/filebeat start' returned 1: Exiting: error unpacking config data: can not convert 'string' into 'int' accessing 'max_procs' (source:'/etc/filebeat/filebeat.yml')
   ...fail!

Basically, the problem is that /etc/filebeat/filebeat.yml contained the following:

max_procs: undef

After updating this module to version 0.8.0, I ran into the following error:

```
Error: Could not start Service[filebeat]: Execution of '/etc/init.d/filebeat start' returned 1: Exiting: error unpacking config data: can not convert 'string' into 'int' accessing 'max_procs' (source:'/etc/filebeat/filebeat.yml')
   ...fail!
Error: /Stage[main]/Filebeat::Service/Service[filebeat]/ensure: change from stopped to running failed: Could not start Service[filebeat]: Execution of '/etc/init.d/filebeat start' returned 1: Exiting: error unpacking config data: can not convert 'string' into 'int' accessing 'max_procs' (source:'/etc/filebeat/filebeat.yml')
   ...fail!
```

Basically, the problem is that `/etc/filebeat/filebeat.yml` contained the following:

```
max_procs: undef
```
@pcfens pcfens merged commit 988083d into pcfens:master Nov 3, 2016
@joshuaspence joshuaspence deleted the config branch November 4, 2016 00:15
@pcfens
Copy link
Owner

pcfens commented Nov 4, 2016

Thanks for this. I pushed this to the forge as v0.8.1.

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