Skip to content

Commit d943071

Browse files
committed
Manage the custom ini file
1 parent d545f1f commit d943071

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

manifests/framework.pp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
logoutput => true
2222
}
2323

24-
php::ini { "phalcon-custom-ini":
24+
php::ini { "${ini_file}":
2525
target => $ini_file,
2626
sapi_target => 'all',
27+
value => ["extension"],
2728
template => 'extra-ini.erb',
2829
require => [Class['php']]
2930
}
@@ -67,7 +68,7 @@
6768
value => 'phalcon.so',
6869
target => "${php::config_dir}/${ini_file}",
6970
require => [
70-
Php::Ini["phalcon-custom-ini"],
71+
Php::Ini["${ini_file}"],
7172
Class['php'],
7273
Exec['remove-phalcon-src-2.0']]
7374
}
@@ -94,7 +95,7 @@
9495
target => "${php::config_dir}/${ini_file}",
9596
value => 'phalcon.so',
9697
require => [
97-
Php::Ini["phalcon-custom-ini"],
98+
Php::Ini["${ini_file}"],
9899
Class['php'],
99100
Exec['remove-phalcon-src-1.x']]
100101
}

0 commit comments

Comments
 (0)