Skip to content

Commit

Permalink
Add "APT::Periodic::Verbose" setting to unattended state.
Browse files Browse the repository at this point in the history
  • Loading branch information
daschatten committed Feb 23, 2015
1 parent 751584d commit 8cd8d5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apt/unattended.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ apt:
download_upgradeable_packages: 1
unattended_upgrade: 1
auto_clean_interval: 7
verbose: 2

0 comments on commit 8cd8d5c

Please sign in to comment.