diff options
author | drebs <drebs@riseup.net> | 2011-03-25 17:23:17 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2011-03-25 17:23:17 -0300 |
commit | f11ea39e640c2022f36d97e7965cf4b8af6d70b2 (patch) | |
tree | b6e9aa3d4bc4e8f99e76ccba01ca95272654209f | |
parent | 5123a9507cb362c1308acb2fef939abe79c2e575 (diff) | |
download | puppet-ekeyd-f11ea39e640c2022f36d97e7965cf4b8af6d70b2.tar.gz puppet-ekeyd-f11ea39e640c2022f36d97e7965cf4b8af6d70b2.tar.bz2 |
fixing exec
-rw-r--r-- | lib/facter/ekeyd.rb | 2 |
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 |