diff options
author | Matt Wrock <matt@mattwrock.com> | 2016-09-21 18:11:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-21 18:11:04 -0700 |
commit | eda6ce7a7c91c309ed20f66496813127a9bac7ad (patch) | |
tree | 33230216c024318616a977c84f95669f13b491a0 | |
parent | ee8b66839eef9b7355fefb87045237cef9424bd4 (diff) | |
download | chef-eda6ce7a7c91c309ed20f66496813127a9bac7ad.tar.gz |
Revert "Verify systemd_unit file during create" (#5326)
-rw-r--r-- | lib/chef/provider/systemd_unit.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/chef/provider/systemd_unit.rb b/lib/chef/provider/systemd_unit.rb index 4aa4cd0aa2..a656fbbf80 100644 --- a/lib/chef/provider/systemd_unit.rb +++ b/lib/chef/provider/systemd_unit.rb @@ -193,7 +193,6 @@ class Chef f.group "root" f.mode "0644" f.content new_resource.to_ini - f.verify systemd_analyze_cmd if systemd_analyze_path end.run_action(action) end @@ -234,14 +233,6 @@ class Chef {} end end - - def systemd_analyze_cmd - @systemd_analyze_cmd ||= "#{systemd_analyze_path} verify %{path}" - end - - def systemd_analyze_path - @systemd_analyze_path ||= which("systemd-analyze") - end end end end |