resolve issues w/ running order compilation

because the library methods are outside of a resource, they are run prior to
resources and therefore will run prior to include_recipe dependencies.  In order
to get them to run in resource order intead of chef-client compilation, it needs
to be put into ruby_blocks however that raised another challenge and that was
how to carry the out-of-scope variable from ruby_block over to bash and or execute resource.  I believe a chef bug causes the bash and execute resources to not
understand the node.run_status method of carrying non local variables.  Therefore had to execute shell command in a ruby_block using exec which happens to carry the node.run_status vars just fine.