Detect usage of ::File.open('/proc/1/comm').gets.chomp == 'systemd' #528
Labels
New Cop Proposal
A proposal for a new Cookstyle cop
Triage: Confirmed
Indicates and issue has been confirmed as described.
Type: Chore
non-critical maintenance of a project.
What category of cop is this?:
Please try to select as few as possible.
Describe the new cop:
We should get folks to use the simpler ohai attribute to check if a system is running systemd
What it would trigger on:
What it would autocorrect to if applicable
The text was updated successfully, but these errors were encountered: