]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/recipes/default.rb
Treat an exit status of 3 as success for chef-client
[chef.git] / cookbooks / chef / recipes / default.rb
index 9443d054848af99e118d17837d58a911cd1dda2e..2e2e345a11374886d93acdb60e6294c54d8de91e 100644 (file)
@@ -112,6 +112,7 @@ if node[:lsb][:release].to_f >= 15.10
     description "Chef client"
     after "network.target"
     exec_start "/usr/bin/chef-client -i 1800 -s 20"
+    success_exit_status 3
     restart "on-failure"
   end
 else