Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Switch from library to definition #4
Definitions are usually the preferred method in Chef for creating new resources. Libraries are more typically used to include arbitrary ruby code that extends Chef itself. These commits switch from a library to a definition along the same lines as the official Opscode apache2 cookbook.
I recall that the initial 'immediate' reload after laying down the monitrc was due to some issues I encountered when doing an initial run and later in the run something tried to do something with monit service and the service returning a non zero exit code and failing the run because it hadn't been initialized. Can't remember the details now, so I won't worry about it.
Your changes look good, thanks for the cleanup