Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
use $cli_package_name instead of $package_name
Browse files Browse the repository at this point in the history
  • Loading branch information
saz committed Jan 3, 2012
1 parent e9d3ef4 commit 76119c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/install.pp
@@ -1,5 +1,5 @@
class php::install { class php::install {
package { $php::params::package_name: package { $php::params::cli_package_name:
ensure => present, ensure => present,
} }
} }
1 change: 0 additions & 1 deletion manifests/params.pp
@@ -1,7 +1,6 @@
class php::params { class php::params {
case $operatingsystem { case $operatingsystem {
/(Ubuntu|Debian)/: { /(Ubuntu|Debian)/: {
$package_name = "php5-cli"
$base_dir = "/etc/php5/" $base_dir = "/etc/php5/"
$cli_dir = "${base_dir}cli/" $cli_dir = "${base_dir}cli/"
$cli_ini = "${cli_dir}php.ini" $cli_ini = "${cli_dir}php.ini"
Expand Down

0 comments on commit 76119c3

Please sign in to comment.