Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COOK-2041] - Updated attrib.rb for suse #29

Merged
merged 7 commits into from Dec 12, 2012

Conversation

hoshposh
Copy link

Some minor corrections to get openSuSE working again with the postgresql cookbook.

The changes involved:

  • Correct client package for openSuSE (postgresql-devel)
  • Associating suse with the configuration parameters established for fedora and rhel.

Lyndon Washington and others added 7 commits July 30, 2012 11:43
This is a fix for [COOK-1508]

Updated the attributes and the server recipes to no longer perform the '/sbin/service postgresql initdb' on openSuSE 11.4, since the current default version of postgresql on that platform does not have support for initdb.
* Remove the pg gem resource, this will be moved to a separate recipe.
* Switch the not_if for postgres user password setting to a shell
  command so the pg gem is not required.
* Install client packages during normal execution phase instead of the
  compile phase as they are no longer required before installing the gem
* Add attributes to node['postgresql'] for client and server package
  installation (client_packages and server_packages respectively)
* Remove convoluted package name selection logic from client and
  server_{redhat,debian} recipes
* Specify default values based on platform version from recipes
Conflicts:
	attributes/default.rb
	metadata.rb
	recipes/client.rb
	recipes/server.rb
	recipes/server_debian.rb
	recipes/server_redhat.rb
	templates/default/debian.postgresql.conf.erb
	templates/default/redhat.postgresql.conf.erb
Changed the package name for opensuse to be postgresql-devel rather than postgresql-client.

Also added suse to the rhea and fedora list of configuration values.
jtimberman pushed a commit that referenced this pull request Dec 12, 2012
[COOK-2041] - Updated attrib.rb for suse
@jtimberman jtimberman merged commit 42d55f0 into sous-chefs:master Dec 12, 2012
chris-rock pushed a commit to chris-rock/postgresql that referenced this pull request Jan 4, 2017
[COOK-2002] Remove Gemfile.lock from repository.
@lock
Copy link

lock bot commented Jul 24, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants