title: Setting chef interval and splay time based on the rpm version installed
body: <p>Hi I am new to Chef and I am trying out to write a recipe and add in existing cookbook. I want my recipe to find the rpm version of a particular application and based on the results splay and chef interval to be updated. Since I am new I searched in google and found out some results on ohai plugin.</p>
  <p><a href="https://stackoverflow.com/questions/22179193/how-to-find-out-version-of-software-package-installed-on-the-node">How to find out version of software package installed on the node?</a></p>
  <p>When I read on custom ohai plugins, I am not getting clarity whether I can use this to proceed for my work or any other approach to be carried out.</p>
  <p>Thanks in advance.</p>