summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider/systemd_unit.rb9
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