Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Could not evaluate: invalid byte sequence in UTF-8 #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions manifests/pear/module.pp
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@
}

$pear_exec_unless = $ensure ? {
present => "pear info ${pear_source}",
present => "pear info ${pear_source} > /dev/null && if [ $? -eq 0 ]; then echo 'OK'; fi",
absent => undef
}

$pear_exec_onlyif = $ensure ? {
present => undef,
absent => "pear info ${pear_source}",
absent => "pear info ${pear_source} > /dev/null && if [ $? -eq 0 ]; then echo 'OK'; fi",
}

$real_service = $service ? {
Expand Down