summaryrefslogtreecommitdiff
path: root/lib/chef/provider
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2017-04-04 18:37:45 +0100
committerGitHub <noreply@github.com>2017-04-04 18:37:45 +0100
commit3f605dc1d3649bbe4217a54425cb9e0c025c63b1 (patch)
treee7c7bdf62421589c2948c1abe2cf609e76575c08 /lib/chef/provider
parent82733e2e99cc873529f78d436964ddf19fc6ceaa (diff)
parentb7240ac35dfce9cea8a298ee633ccd356c7dbeca (diff)
downloadchef-3f605dc1d3649bbe4217a54425cb9e0c025c63b1.tar.gz
Merge pull request #5971 from nathwill/sd-verify-optional
systemd_unit verifier escape hatch
Diffstat (limited to 'lib/chef/provider')
-rw-r--r--lib/chef/provider/systemd_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/systemd_unit.rb b/lib/chef/provider/systemd_unit.rb
index 5175dc6be9..143efe7b91 100644
--- a/lib/chef/provider/systemd_unit.rb
+++ b/lib/chef/provider/systemd_unit.rb
@@ -194,7 +194,7 @@ class Chef
f.group "root"
f.mode "0644"
f.content new_resource.to_ini
- f.verify :systemd_unit
+ f.verify :systemd_unit if new_resource.verify
end.run_action(action)
end