With such an entry:
- filename: /etc/postgresql/9.1/main/pg_hba.conf
- local librement librement peer
- file: /etc/postgresql/9.1/main/pg_hba.conf
I get the following error:
State: - file
Comment: An exception occured in this state: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 884, in call
File "/usr/lib/python2.7/dist-packages/salt/states/file.py", line 1679, in accumulated
kwargs.get('require_in', ()) + kwargs.get('watch_in', ())):
TypeError: can only concatenate list (not "tuple") to list
It looks like those "()" as default values should be replaced by "".
Yes, an easy fix!