define php::config($order, $value, $ensure = 'present', $sapi = 'apache2') { file { "${::php::folder}/${sapi}/conf.d/${order}-${name}.ini": ensure => $ensure, owner => root, group => root, mode => 0644, content => "${name}=${value}\n", require => File["${::php::folder}/${sapi}"], notify => $sapi ? { 'apache2' => Service['apache2'], default => undef, }, } }