diff options
author | Matt Wrock <matt@mattwrock.com> | 2016-09-15 11:00:05 -0700 |
---|---|---|
committer | Matt Wrock <matt@mattwrock.com> | 2016-09-21 15:17:59 -0700 |
commit | 447154f4416f1e54b2dcb14c67ec9c0ad6498f06 (patch) | |
tree | 732be1f409828cb7699525c40dc6d52c6f7df743 | |
parent | 9965f280523f0cf467906615dc90d416a3621a57 (diff) | |
download | chef-revert-5210-systemd-unit-verify.tar.gz |
Revert "Verify systemd_unit file during create"revert-5210-systemd-unit-verify
-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 |