2023-05-02 23:21:10 -04:00
|
|
|
{% from "system/map.jinja" import system_settings with context %}
|
2023-05-02 23:21:48 -04:00
|
|
|
{% set settings = system_settings['sleep'] %}
|
2023-05-02 23:10:40 -04:00
|
|
|
|
2023-05-02 23:34:02 -04:00
|
|
|
{% if salt['grains']['get']('os_family') == 'FreeBSD' %}
|
|
|
|
include:
|
|
|
|
- system.sleep.freebsd
|
2023-05-02 23:28:00 -04:00
|
|
|
{% else %}
|
2023-05-02 23:34:02 -04:00
|
|
|
include:
|
|
|
|
- system.sleep.linux
|
2023-05-02 23:21:10 -04:00
|
|
|
{% endif %}
|