-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
startup_script fails for windows #817
Labels
good first issue
Good for newcomers
Comments
Puppet string comparison is not case sensitive, but repexp are. One can make them case insensitive but the syntax is not that readable, maybe better downcase the service name 😉 |
logicminds
added a commit
that referenced
this issue
Mar 9, 2022
* Previously the windows agent puppet code did not handle windows properly and failed the catalog build due to a case sensitive issue. This fixes that by downcase the agent name first.
logicminds
added a commit
that referenced
this issue
Mar 9, 2022
* Previously the windows agent puppet code did not handle windows properly and failed the catalog build due to a case sensitive issue. This fixes that by downcase the agent name first.
logicminds
added a commit
that referenced
this issue
Mar 9, 2022
* Previously the windows agent puppet code did not handle windows properly and failed the catalog build due to a case sensitive issue. This fixes that by downcase the agent name first.
bastelfreak
added a commit
that referenced
this issue
Mar 10, 2022
Fix #817 - startup_script fails for windows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This bug is caused due to a case sensitivity issue with the service name for windows. On windows the service name is capitalized while everything else it is lowercase. This causes the service to not start because the fail function is executed. A case insensitive comparison will fix this issue.
https://github.com/voxpupuli/puppet-zabbix/blob/master/manifests/startup.pp#L32
https://github.com/voxpupuli/puppet-zabbix/blob/master/manifests/params.pp#L103
What are you seeing
The catalog fails:
we currently only support a title that contains agent or server
What behaviour did you expect instead
The catalog to complete sucessfully
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: