What is the best way to update files on nodes using chef?
<p>I have a file in my chef recipe and on some node configure with chef. I want that if file will modify then this automatically changes in configured node using chef.</p>

<p>My approach is,
I make a recipe and put my file in template folder and put this recipe in runlist of nodes. I also cron scheduled chef-client on nodes.
So now when this files will updated and recipe uploaded on server, then files on all nodes will update.
What is the other approach to do this more efficiently.</p>

<p>Is it possible to do this without cron.</p>

<p>Eg. chef server will do it if file will modify in recipe.</p>