Nonfunctioning default_password in states.postgres_user.present #34395
Labels
Bug
broken, incorrect, or confusing behavior
P4
Priority 4
RIoT
Relates to integration with cloud providers, hypervisors, API-based services, etc.
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
State-Module
Milestone
Description of the issue
I am creating a new postgres roles using
states.postgres_user.present
It has a
default_password
argument:However, when salt creates the user,
default_password
does not seem to affect anything, at all. (Thepassword
is not set neither.)The setup
Reproducing:
Use the sls above.
User does NOT exist in the database.
Everything is made inside of a fresh box with
salt 2016.3.1 (Boron)
Postgres settings are nearly default and the changes are irrelevant to the issue (
log_statement = 'all'
and rules in pg_hba.conf).Now let's see the postgres log:
Or, more full log just in case (everything during whole the state.apply run)
Versions Report
Salt master report is below. The minion shouldn't be any differences except of the postgress and salt installed without arguments (
-NM
on the master).The text was updated successfully, but these errors were encountered: