Add Salt baseline states for Proxmox Mail Gateway.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ruslan Piatrovich
2026-06-04 11:27:44 +03:00
co-authored by Cursor
parent 35d81332fa
commit 85cecf78f6
23 changed files with 729 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
pmg-updates-packages:
pkg.installed:
- pkgs:
- unattended-upgrades
- apt-listchanges
pmg-apt-auto-upgrades:
file.managed:
- name: /etc/apt/apt.conf.d/20auto-upgrades
- source: salt://pmg/files/20auto-upgrades.jinja
- template: jinja
- user: root
- group: root
- mode: '0644'
pmg-unattended-policy:
file.managed:
- name: /etc/apt/apt.conf.d/50unattended-upgrades
- source: salt://pmg/files/50unattended-upgrades.jinja
- template: jinja
- user: root
- group: root
- mode: '0644'
pmg-unattended-service:
service.running:
- name: unattended-upgrades
- enable: true