You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server attributes are starting from ["postgresql"]["defaults"] and used as default attributes for postgresql provider. You should not override this defaults, you can pass your settings to provider instead.
Okay fine for config flags - but I think there is a problem with the hba configurations if we follow that thinking. We can't overwrite defaults hba permissions the recipe provide.
The hba_configuration configuration is merged with the defaults, not overwritten :
So you can't actually remove or replace any of the defaults entries from pg_hba.conf. I think theses configurations setup should be a || not | with the resource specific config.
In the examples where it looks to me like the provided hba_configuration inside the postgresql 'main' do block should be the ending result :
The README states :
Okay fine for config flags - but I think there is a problem with the hba configurations if we follow that thinking. We can't overwrite defaults hba permissions the recipe provide.
The
hba_configuration
configuration is merged with the defaults, not overwritten :postgresql_lwrp/resources/default.rb
Lines 53 to 54 in 6b8d583
So you can't actually remove or replace any of the defaults entries from
pg_hba.conf
. I think theses configurations setup should be a||
not|
with the resource specific config.In the examples where it looks to me like the provided
hba_configuration
inside thepostgresql 'main' do
block should be the ending result :But I end up with that config plus all the defaults :
postgresql_lwrp/attributes/server.rb
Lines 55 to 60 in 6b8d583
The text was updated successfully, but these errors were encountered: