From: Peter Palfrader Date: Fri, 25 Nov 2016 14:00:11 +0000 (+0100) Subject: fix whitespace X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=0f1cabb8f475f747dd15e3179fb2d7830a608138;p=mirror%2Fdsa-puppet.git fix whitespace --- diff --git a/modules/debian-org/lib/facter/software.rb b/modules/debian-org/lib/facter/software.rb index ca21dc031..3927cd626 100644 --- a/modules/debian-org/lib/facter/software.rb +++ b/modules/debian-org/lib/facter/software.rb @@ -8,14 +8,14 @@ Facter.add("apache2") do end end Facter.add("apache2deb9") do - setcode do - # jessie (deb8) has 2.4.10-.., stretch (deb9) will have 2.4.23 or later. - if FileTest.exist?("/usr/sbin/apache2") and system("dpkg --compare-versions $(dpkg-query -W -f='${Version}\n' apache2-bin) gt 2.4.15") - true - else - '' - end - end + setcode do + # jessie (deb8) has 2.4.10-.., stretch (deb9) will have 2.4.23 or later. + if FileTest.exist?("/usr/sbin/apache2") and system("dpkg --compare-versions $(dpkg-query -W -f='${Version}\n' apache2-bin) gt 2.4.15") + true + else + '' + end + end end Facter.add("clamd") do setcode do