From 97e8e03e63f958a67018a3609267357e6ad5d595 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 5 Jul 2016 16:12:59 -0300 Subject: Adds php::hardened into php --- manifests/init.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 90a15b6..6ac5ae0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -class php { +class php($hardened = true) { case $::lsbdistcodename { 'xenial': { include php::packages::xenial @@ -68,4 +68,8 @@ class php { include php::resources include php::defaults + + if $hardened == true { + include php::hardened + } } -- cgit v1.2.3