aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/grsec.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:51 -0300
commit8d8b27b581fb58b8d559d3c7c1e1397e578230c3 (patch)
tree627c970454600dc8a932b44fb1f76f785db53658 /manifests/subsystem/grsec.pp
parente128c09e7432997b1cf4747ec5e0f4fab7985e8e (diff)
downloadpuppet-nodo-8d8b27b581fb58b8d559d3c7c1e1397e578230c3.tar.gz
puppet-nodo-8d8b27b581fb58b8d559d3c7c1e1397e578230c3.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests/subsystem/grsec.pp')
-rw-r--r--manifests/subsystem/grsec.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/subsystem/grsec.pp b/manifests/subsystem/grsec.pp
index 7b90002..903371e 100644
--- a/manifests/subsystem/grsec.pp
+++ b/manifests/subsystem/grsec.pp
@@ -1,5 +1,6 @@
class nodo::subsystem::grsec {
include nodo::utils::security::grsec
+ include nodo::subsystem::grsec::group
nodo::subsystem::sysctl::entry { 'kernel.grsecurity.grsec_lock':
order => 'zz',
@@ -17,7 +18,7 @@ class nodo::subsystem::grsec {
file { "/etc/sysctl.d/grsec.conf":
owner => "root",
group => "root",
- mode => 0644,
+ mode => '0644',
ensure => $ensure,
source => "puppet:///modules/nodo/etc/sysctl.d/grsec.conf",
}