Skip to content

4.0.0 breaks SSL configuration, taints node configuration and uses bad practices (imho) #319

Closed
@chr4

Description

@chr4

9d42dbf is a horrible commit!
I'm shocked this made it into a released version in a cookbook that is that widely used.

  1. Though there was at least a warning in the CHANGELOG, I now need to set all current (and really messy: future!) attributes when using the stable pgdg version of postgres (9.4.) on Ubuntu Trusty. One day the maintainer might introduce a new attribute depending on the version, which might result in messing up installations. I found this pretty annoying.
  2. Tainting my node attribtues with node.set should be considered not a good style in general (imho). Furthermore, setting the ssl_key_file and ssl_cert_file parameters using default['postgresql']['config']['ssl_key_file'] = 'mycert.key' is not possible anymore and broke my configuration. The only thing preventing an outage was that I set the config_change_notify setting to :reload. I changed the default to override to make it work again, but this is highly inconsistent to the other settings!

I'm not sure what lead to this change, and I'm sure there was a good intention behind it, but this is really bad style and should not be the case in a cookbook that is used on production servers on probably thousands of machines. Please consider reverting this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions