Parcourir la source

Add "APT::Periodic::Verbose" setting to unattended state.

tags/v0.7.0
root il y a 10 ans
Parent
révision
8cd8d5c47e
2 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. +2
    -0
      apt/unattended.sls
  2. +1
    -0
      pillar.example

+ 2
- 0
apt/unattended.sls Voir le fichier

@@ -47,6 +47,7 @@ apt_unattended_pakgs::
{% set download_upgradeable_packages = salt['pillar.get']('apt:unattended:download_upgradeable_packages', '1') %}
{% set unattended_upgrade = salt['pillar.get']('apt:unattended:unattended_upgrade', '1') %}
{% set auto_clean_interval = salt['pillar.get']('apt:unattended:auto_clean_interval', '7') %}
{% set verbose = salt['pillar.get']('apt:unattended:verbose', '2') %}

{{ map.confd_dir }}/{{ map.periodic_config }}:
file.managed:
@@ -56,3 +57,4 @@ apt_unattended_pakgs::
APT::Periodic::Download-Upgradeable-Packages "{{ download_upgradeable_packages }}";
APT::Periodic::Unattended-Upgrade "{{ unattended_upgrade }}";
APT::Periodic::AutocleanInterval "{{ auto_clean_interval }}";
APT::Periodic::Verbose "{{ verbose }}";

+ 1
- 0
pillar.example Voir le fichier

@@ -19,3 +19,4 @@ apt:
download_upgradeable_packages: 1
unattended_upgrade: 1
auto_clean_interval: 7
verbose: 2

Chargement…
Annuler
Enregistrer