Commit 8dfa1898 authored by mh's avatar mh
Browse files

more cleanups

parent 04a14cdd
......@@ -5,9 +5,9 @@ class php::scl::php56(
$suhosin_cryptkey = $php::scl::params::suhosin_cryptkey,
$suhosin_settings = $php::scl::params::suhosin_settings,
) inherits php::scl::params {
$basedir = '/opt/rh/rh-php56'
$etcdir = '/etc/opt/rh/rh-php56'
$scl_name = 'rh-php56'
$basedir = '/opt/remi/php56'
$etcdir = '/etc/opt/remi/php56'
$scl_name = 'php56'
php::scl::phpx{'56':
etcdir => $etcdir,
timezone => $timezone,
......
......@@ -2,7 +2,7 @@
# this should do everything you need
# for an scl installation
define php::scl::phpx(
$etcdir = "/opt/rh/php${name}/root/etc",
$etcdir = "/opt/remi/php${name}/root/etc",
$timezone = 'Europe/Berlin',
$settings = {},
$suhosin_cryptkey = undef,
......@@ -44,7 +44,7 @@ define php::scl::phpx(
$default_suhosin_settings)
$suhosin_defaults = {
path => "${etcdir}/php.d/suhosin.ini",
require => Class["::scl::php${name}"],
require => Class["scl::php${name}"],
notify => Service['apache'],
}
create_ini_settings({'' => $php_suhosin_settings},$suhosin_defaults)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment