Skip to content

Commit

Permalink
Merge pull request #1402 from chef/sysctl_optional
Browse files Browse the repository at this point in the history
Make the new sysctl plugin optional
  • Loading branch information
tas50 authored Sep 4, 2019
2 parents d2ef739 + 1cb1a70 commit 49137a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ohai/plugins/linux/sysctl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

Ohai.plugin(:Sysctl) do
provides "sysctl"
optional true

collect_data(:linux) do
sysctl_path = which("sysctl")
Expand Down

0 comments on commit 49137a9

Please sign in to comment.