saltstack/salt — pull request #5689 by pkruithof (2013-06-22 18:29:27+00:00)
Title: Fixed version check in case of different preferred state

When installing an extension with the `beta` state, the check to see if it's installed failed, because the `pecl list` command returns the version and state, but only the first is checked.

Also, improved the comments to reflect which pecl extension is being handled.