Tou d'aplomb pour tlp
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# A implémenter
|
||||
# https://www.unixsysadmin.com/fedora-on-a-thinkpad-p1/
|
||||
|
||||
{% if grains['kernel'] == 'Linux' %}
|
||||
{% if grains['virtual'] == 'physical' %}
|
||||
Installons tlp:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
@@ -9,4 +10,14 @@ Installons tlp:
|
||||
|
||||
tlp:
|
||||
service.running:
|
||||
- enable: True
|
||||
- enable: True
|
||||
|
||||
{%else %}
|
||||
Supprimons tlp:
|
||||
pkg.removed:
|
||||
- pkgs:
|
||||
- tlp
|
||||
- tlp-rdw
|
||||
|
||||
{%endif%}
|
||||
{%endif%}
|
||||
Reference in New Issue
Block a user