8000 Updated the switch a little and reverted httpd back to apache2. · guillemcanal/puppet-php@2de452e · GitHub
[go: up one dir, main page]

Skip to content

Commit 2de452e

Browse files
author
Phil Sturgeon
committed
Updated the switch a little and reverted httpd back to apache2.
1 parent fd6fb88 commit 2de452e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manifests/params.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class php::params {
2-
case $operatingsystem {
3-
/(Ubuntu|Debian)/: {
2+
case $::operatingsystem {
3+
'ubuntu', 'debian': {
44
$base_dir = "/etc/php5/"
55
$cli_dir = "${base_dir}cli/"
66
$cli_ini = "${cli_dir}php.ini"
@@ -16,7 +16,7 @@
1616
$apache_dir = "${base_dir}apache2/"
1717
$apache_ini = "${apache_dir}php.ini"
1818
$apache_package_name = "libapache2-mod-php5"
19-
$apache_service_name = "httpd"
19+
$apache_service_name = "apache2"
2020
}
2121
}
2222
}

0 commit comments

Comments
 (0)
0