MythicSalt/states/debian/init.sls

34 lines
628 B
Plaintext
Raw Normal View History

2023-12-06 16:03:52 +00:00
bookworm_backports:
pkgrepo.managed:
2023-12-06 16:03:52 +00:00
- name: deb http://deb.debian.org/debian bookworm-backports main
- dist: bookworm-backports
- file: /etc/apt/sources.list.d/bookworm-backports.list
2023-02-16 18:30:03 +00:00
deploy_sshd_config:
file.managed:
- name: /etc/ssh/sshd_config
- source: salt://debian/sshd_config
ssh:
service.running:
- watch:
- file: /etc/ssh/sshd_config
2023-04-06 14:34:07 +01:00
cron:
pkg.installed: []
service.running:
- require:
- pkg: cron
2023-02-16 18:30:03 +00:00
ntp:
pkg.installed: []
service.running:
- require:
- pkg: ntp
firewalld:
pkg.installed: []
service.running:
- enable: true
- restart: true