summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2011-03-25 17:23:17 -0300
committerdrebs <drebs@riseup.net>2011-03-25 17:23:17 -0300
commitf11ea39e640c2022f36d97e7965cf4b8af6d70b2 (patch)
treeb6e9aa3d4bc4e8f99e76ccba01ca95272654209f
parent5123a9507cb362c1308acb2fef939abe79c2e575 (diff)
downloadpuppet-ekeyd-f11ea39e640c2022f36d97e7965cf4b8af6d70b2.tar.gz
puppet-ekeyd-f11ea39e640c2022f36d97e7965cf4b8af6d70b2.tar.bz2
fixing exec
-rw-r--r--lib/facter/ekeyd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/ekeyd.rb b/lib/facter/ekeyd.rb
index 7521948..db56fa3 100644
--- a/lib/facter/ekeyd.rb
+++ b/lib/facter/ekeyd.rb
@@ -1,6 +1,6 @@
Facter.add('ekeyd_key_present') do
confine :kernel => %w{Linux}
setcode do
- !Kernel.exec('lsusb | grep "Entropy Key"').empty?
+ !`lsusb | grep "Entropy Key`.empty?
end
end