aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp6
1 files changed, 5 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
-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
+ }
}