summaryrefslogtreecommitdiffstats
path: root/salt/profile/seccheck/init.sls
diff options
context:
space:
mode:
Diffstat (limited to 'salt/profile/seccheck/init.sls')
-rw-r--r--salt/profile/seccheck/init.sls20
1 files changed, 20 insertions, 0 deletions
diff --git a/salt/profile/seccheck/init.sls b/salt/profile/seccheck/init.sls
new file mode 100644
index 0000000..eed0c57
--- /dev/null
+++ b/salt/profile/seccheck/init.sls
@@ -0,0 +1,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