
Comment: An exception occurred in this state: Traceback (most recent call last):

 "/usr/lib/python2.7/dist-packages/salt/state.py", line 1531, in call
**cdata['kwargs'])

 "/usr/lib/python2.7/dist-packages/salt/states/postgres_user.py", line 217, in present
if password is not None and (refresh_password or user_attr['password'] != password):
TypeError: 'bool' object has no attribute '__getitem__'```
Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/salt/cloud/cli.py", line 281, in run

self.config.get('names')


 "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1454, in run_profile

ret[name] = self.create(vm_)


 "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1284, in create

output = self.clouds[func](vm_)


 "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/azurearm.py", line 1279, in create

'wait_for_ip_interval_multiplier', vm_, __opts__, default=1),


 "/usr/lib/python2.7/dist-packages/salt/utils/cloud.py", line 2389, in wait_for_ip

data = update_callback(*update_args, **update_kwargs)


 "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/azurearm.py", line 1254, in _query_ip_address

data = request_instance(kwargs=vm_)


 "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/azurearm.py", line 1052, in request_instance

iface_data = create_interface(kwargs=vm_)


 "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/azurearm.py", line 926, in create_interface

six.text_type(pub_ip_data.id),
# pylint: disable=no-member
TypeError: __init__() takes exactly 1 argument (2 given)
