Skip to content

Does not support HA #15

Closed
Closed
@dylanratcliffe

Description

@dylanratcliffe

When a primary or secondary master is classified as so, there are many conflicts and a duplicate declaration that arise from the puppet_enterprise::profile::database class.

Ideas for fix:

  • Not manage the settings if it's a HA master (Not great, as they are useful settings)
  • Use a nasty hack to make the puppet_enterprise resources that conflict write to the wrong file
  • Use a nasty hack to override the values that the resources are enforcing

Conflicting resources:

  • /Stage[main]/Pe_databases::Postgresql_settings/Postgresql_conf[log_autovacuum_min_duration]
  • /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Config_entry[log_autovacuum_min_duration]/Pe_postgresql_conf[log_autovacuum_min_duration]
  • /Stage[main]/Pe_databases::Postgresql_settings/Postgresql_conf[log_temp_files]
  • /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Config_entry[log_temp_files]/Pe_postgresql_conf[log_temp_files]
  • /Stage[main]/Pe_databases::Postgresql_settings/Postgresql_conf[work_mem]
  • /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Config_entry[work_mem]/Pe_postgresql_conf[work_mem]
  • /Stage[main]/Pe_databases::Postgresql_settings/Postgresql_conf[max_connections]
  • /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Config_entry[max_connections]/Pe_postgresql_conf[max_connections]

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