init.sls 344 B

1234567891011121314151617
  1. #
  2. # sysctl
  3. #
  4. # Define command to reload sysctl settings here without dependencies
  5. # and define inverse dependencies where useful (see sysctl.conf)
  6. reload-sysctl:
  7. cmd.wait:
  8. - watch: []
  9. - name: /sbin/sysctl --system
  10. /etc/sysctl.conf:
  11. file.managed:
  12. - source: salt://sysctl/sysctl.conf
  13. - watch_in:
  14. - cmd: reload-sysctl