summaryrefslogtreecommitdiffstats
path: root/salt/profile/seccheck/init.sls
blob: eed0c5759a7b44f4853461c2f1d28e02e84e2e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
seccheck_packages:
  pkg.installed:
    - pkgs:
      - seccheck

seccheck_files:
  file.managed:
    - user: root
    - mode: '0644'
    - template: jinja
    - names:
      - /etc/sysconfig/seccheck:
        - source: salt:///{{ slspath }}/files/etc/sysconfig/seccheck
      - /etc/security/autologout.conf:
        - source: salt:///{{ slspath }}/files/etc/security/autologout.conf

seccheck_service:
  service.running:
    - name: seccheck-autologout.timer
    - enable: True