I’ve got several functioning chef-provisioned and deployed
systems/applications, and am only now getting round to worrying about
automatic updates/deployment. (Up to now have been running knife ssh “sudo
chef client” as needed).
The most obvious thing (and lightweight) that I can do is to add to one of
my recipes a cron resource to sudo chef-client every 30 minutes. However I
notice that there’s a chef-client cookbook with recipe for running it as
Is there a strong reason for running chef-client as a service rather than a
cron? The chef-client cookbook’s README encourages me to delete the
validation before installing chef-client. Why would I want to do that?
There’s also a client_service recipe within the chef cookbook as well.
Options, options. Any pointers?