moved the declaration of glance_cmd outside of the image loop, added a space to the pipe grep

trying Mixlib::ShellOut

first pass at mataching images

may not need run_state

really ought to be versioning

version of chef we use has shellout in chef, not mixlib

changed conditionals, instead of using the not_if resrouce on bash, I wrapped the bash execute in a if not