aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/grsec
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/grsec')
-rw-r--r--manifests/subsystem/grsec/paxctl.pp11
1 files changed, 11 insertions, 0 deletions
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'],
+ }
+}