Skip to content

limit.maxfiles.plist not rendered on MacOS #213

Closed
@noelmcloughlin

Description

@noelmcloughlin

In dev.sls the context dict values passed to limit.maxfiles.plist are not rendered.

    - context:
      soft_limit: {{ postgres.limits.soft or postgres.limits.hard }}
      hard_limit: {{ postgres.limits.hard or postgres.limits.soft }}
    Function: file.managed
        Name: /Library/LaunchDaemons/limit.maxfiles.plist
      Result: True
     Comment: File /Library/LaunchDaemons/limit.maxfiles.plist is in the correct state
bash-3.2# more /Library/LaunchDaemons/limit.maxfiles.plist

      ...
      <string>maxfiles</string>
      <string>{{ soft_limit }}</string>
      <string>{{ hard_limit }}</string>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions