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

Bad use of method 'inspect' causes bool values not to apply. #222

Closed
pazmarianoj opened this issue Apr 17, 2018 · 0 comments · Fixed by #223
Closed

Bad use of method 'inspect' causes bool values not to apply. #222

pazmarianoj opened this issue Apr 17, 2018 · 0 comments · Fixed by #223

Comments

@pazmarianoj
Copy link
Contributor

pazmarianoj commented Apr 17, 2018

Based on gitlab documentation and feedback from support, I realized that the boolean values passed to the gitlab.rb file are not being parsed properly due to a misplaced quotes. Gitlab expects bool values to be passed as is, without any quotation.
Usage examples:
postgres['enabled'] = 'false' -> Service still running visible via gitlab-ctl status
postgres['enabled'] = false -> Expected behaviour.

Main reason: https://ruby-doc.org/core-2.3.0/String.html#method-i-inspect

numify(v).inspect

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 a pull request may close this issue.

1 participant