-
Notifications
You must be signed in to change notification settings - Fork 128
Most lines commented out in configuration file #12
Comments
I've just encountered this too. Changing any of the logging settings (obviously) has no effect, as even though the lines are correct they're still commented out. |
The My plan is to eventually support explicit templating as I do in phlipper/chef-percona, but I have not had a chance to implement that yet. Pull requests to improve this support would gladly be welcomed. |
@smith, @jagregory, this issue has been addressed via 394bbc1. |
I ran into this just now... I'm changing the WAL settings, but they are commented out. I understand if I switch to 'custom' configs, i.e, ['postgresql']['conf']['archive_mode'] etc, that I'll get what I want. Ok, that's fine--but what I'm confused about is offering up the 'standard' template mechanism in the docs. It seems to me the standard config feature is broken as long as the commenting out. Is there a way to practically use it? A question--if you could tell that that the user specified something other than the default value in your template, would you then not feel comfortable in commenting out that specific config? Something like:
|
I agree with @sethcall on this one. Because if someone uses the One strategy is to have the default node attributes set to <%= node['wal_level'].nil? ? '# wal_level = minimal' : "wal_level = #{node[:postgresql][:wal_level]}" %> # minimal, archive, or hot_standby While there is some verbosity, I think this is a nice compromise to having as much of the stock Thoughts? I'd be happy to work on this if this is the direction you'd like to go @phlipper. |
In https://github.com/phlipper/chef-postgresql/blob/a8754424a42e232a22d355654d4020e5b55560f8/templates/default/postgresql.conf.erb, most of the directives are commented out. Am I missing something here? Won't setting most of these attributes just not do anything?
If for some reason this is intended, it's confusing and not clear from the docs.
The text was updated successfully, but these errors were encountered: