diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-07-05 16:12:59 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-07-05 16:12:59 -0300 |
commit | 97e8e03e63f958a67018a3609267357e6ad5d595 (patch) | |
tree | 0cff3f093abb0cc5c7e8dc669e248ad5fa639459 | |
parent | 363ac3734f96a68fc8ef65338e6bad6b0800aaba (diff) | |
download | puppet-php-97e8e03e63f958a67018a3609267357e6ad5d595.tar.gz puppet-php-97e8e03e63f958a67018a3609267357e6ad5d595.tar.bz2 |
Adds php::hardened into php
-rw-r--r-- | manifests/init.pp | 6 |
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 + } } |