aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/grsec
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-02-09 18:53:21 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-02-09 18:53:21 -0200
commit6a10906110a915a0a662566b5b400b7afe69c668 (patch)
tree5455210a630aaa0933096245ca024b9f3e403409 /manifests/subsystem/grsec
parentbe151b179704537c5c435518b5a71f3e38c8878f (diff)
downloadpuppet-nodo-6a10906110a915a0a662566b5b400b7afe69c668.tar.gz
puppet-nodo-6a10906110a915a0a662566b5b400b7afe69c668.tar.bz2
Updates grsec config, adding nodo::subsystem::security and nodo::subsystem::grsec::paxctl
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'],
+ }
+}