Skip to content

Commit

Permalink
Merge pull request #78 from ChartBoost/iconv_fix
Browse files Browse the repository at this point in the history
iconv causes exec unless to always return 0
  • Loading branch information
alvagante committed Dec 31, 2014
2 parents 8c68042 + 645db89 commit 02d9e98
Showing 1 changed file with 2 additions and 2 deletions.
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} | iconv -c",
present => "pear info ${pear_source}",
absent => undef
}

$pear_exec_onlyif = $ensure ? {
present => undef,
absent => "pear info ${pear_source} | iconv -c",
absent => "pear info ${pear_source}",
}

$real_service = $service ? {
Expand Down

0 comments on commit 02d9e98

Please sign in to comment.