-
Notifications
You must be signed in to change notification settings - Fork 284
Fix /Library/LaunchDaemons/limit.maxfiles.plist on MacOS #220
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
Conversation
|
a83c2cc
to
3ac34e2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @noelmcloughlin .
Although your changes are syntactically correct, I don't see any of these limits defined by default for OS X.
They do exist in the pillar.example
file, but I think for the template really to be working "out-of-the-box", we need to add the limit values to the osfamilymap.yaml
file as well.
Hi @vutny I think 64K is a good assumed default for Darwin OSX. Yes for completeness I'll add default values. |
3ac34e2
to
25e0aaf
Compare
@vutny can you take a second look before merge? |
postgres/dev.sls
Outdated
soft_limit: {{ postgres.limits.soft or postgres.limits.hard }} | ||
hard_limit: {{ postgres.limits.hard or postgres.limits.soft }} | ||
soft_limit: {{ postgres.limits.soft | default(postgres.limits.hard, true) }} | ||
hard_limit: {{ postgres.limits.hard | default(postgres.limits.soft, true) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@noelmcloughlin Since we have added the default values to the OS family map, they would be merged to the postgres
dictionary anyway if nothing set in the Pillar. So the default
filter becomes unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks for the review @vutny
25e0aaf
to
bdbc784
Compare
@vutny and @noelmcloughlin thanks for this |
Fix #213