Skip to content

Commit 937519a

Browse files
committed
BUG: Solved lint errors detected in Travis CI testing.
1 parent 17feedd commit 937519a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

manifests/cli.pp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
require => File[ "${install_path}/bin/wp" ],
3737
}
3838
} else {
39-
39+
4040
file { "${install_path}/bin/${wp::executable_filename}":
4141
ensure => 'present',
4242
content => template('wp/wp.bat.erb'),
@@ -53,19 +53,19 @@
5353
}
5454
}
5555

56-
if $manage_php_package and ! defined( Package[ $::wp::php_package ] ) {
56+
if $::wp::manage_php_package and ! defined( Package[ $::wp::php_package ] ) {
5757
package { $::wp::php_package:
5858
ensure => installed,
5959
}
6060
}
6161

62-
if $manage_curl_package and ! defined(Package['curl']) {
62+
if $::wp::manage_curl_package and ! defined(Package['curl']) {
6363
package { 'curl':
6464
ensure => installed,
6565
}
6666
}
6767

68-
if $manage_git_package and ! defined(Package['git']) {
68+
if $::wp::manage_git_package and ! defined(Package['git']) {
6969
package { 'git':
7070
ensure => installed,
7171
}

manifests/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
$executable_filename = $::operatingsystem ? {
99
'windows' => 'wp.bat',
1010
default => 'wp',
11-
}
11+
}
1212
$php_package = $::operatingsystem ? {
1313
/^(Debian|Ubuntu)$/ => 'php5-cli',
1414
'windows' => 'php',

0 commit comments

Comments
 (0)