Skip to content

Commit

Permalink
ensure could also be 'latest'
Browse files Browse the repository at this point in the history
ensure could also have the value `latest`, so this commit consider this
case.
  • Loading branch information
amateo committed Oct 11, 2018
1 parent 6e44833 commit e27d1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/extension/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
}

$config_root_ini = pick_default($php::config_root_ini, $php::params::config_root_ini)
if $ensure == 'present' or $ensure == 'installed' {
if $ensure == 'present' or $ensure == 'installed' or $ensure == 'latest' {
::php::config { $title:
file => "${config_root_ini}/${ini_prefix}${ini_name}.ini",
config => $final_settings,
Expand Down

0 comments on commit e27d1d0

Please sign in to comment.