aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-07-05 16:12:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-07-05 16:12:59 -0300
commit97e8e03e63f958a67018a3609267357e6ad5d595 (patch)
tree0cff3f093abb0cc5c7e8dc669e248ad5fa639459 /manifests
parent363ac3734f96a68fc8ef65338e6bad6b0800aaba (diff)
downloadpuppet-php-97e8e03e63f958a67018a3609267357e6ad5d595.tar.gz
puppet-php-97e8e03e63f958a67018a3609267357e6ad5d595.tar.bz2
Adds php::hardened into php
Diffstat (limited to 'manifests')
-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
+ }
}