saltstack/salt-cloud — pull request #551 by boltronics (2013-04-23 05:07:31+00:00)
Title: import pprint required for openstack provider

I've been getting a bunch of these when trying to launch new OpenStack instances:

Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/saltcloud/clouds/openstack.py", line 362, in create
pprint.pformat(
NameError: global name 'pprint' is not defined

It seems the pprint module import line was missing.

$ salt-cloud --versions
Salt Cloud: 0.8.8
Python: 2.7.3 (default, Jan 2 2013, 13:56:14)
Salt: 0.14.0-604-g29efa17
Apache Libcloud: 0.12.4
PyYAML: 3.10