From 6a10906110a915a0a662566b5b400b7afe69c668 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 Feb 2017 18:53:21 -0200 Subject: Updates grsec config, adding nodo::subsystem::security and nodo::subsystem::grsec::paxctl --- manifests/subsystem/grsec/paxctl.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/subsystem/grsec/paxctl.pp (limited to 'manifests/subsystem/grsec') diff --git a/manifests/subsystem/grsec/paxctl.pp b/manifests/subsystem/grsec/paxctl.pp new file mode 100644 index 0000000..2b3a843 --- /dev/null +++ b/manifests/subsystem/grsec/paxctl.pp @@ -0,0 +1,11 @@ +define nodo::subsystem::grsec::paxctl( + $file, + $flags, +) +{ + exec { "paxctl-${name}": + command => "/sbin/paxctl -${flags} ${file}", + user => "root", + require => Package['paxtest'], + } +} -- cgit v1.2.3