saltstack/salt — pull request #7385 by jahkeup (2013-09-21 02:14:19+00:00)
Title: Add connection kwargs to keystone module and state.

I added connection_args that can be specified via either the cli or with the state when using keystone. The connection_args follow the same scheme as the mysql module and with the existing grains/config variable naming:

```yaml
keystone-user:
keystone.user_present:
- name: user
- password: a_password
- connection_user: admin
- connection_token: TOKEN123 # or connection_pass: admin_password
- connection_endpoint: http://127.0.0.1:35357/v2.0/ # or connection_auth_url: http://...
```

Building upon the previous additions to the module & state I also included the ability to specify a 'profile' along with a state declaration as well.