FAQ
I think i figured it out in the Postgresql module edit the params.pp so
that it looks like this;

case $::osfamily {

'RedHat': {

$service_name = 'postgresql-9.1'

$client_package_name = 'postgresql91'

$server_package_name = 'postgresql91-server'

$needs_initdb = true

$initdb_path = '/usr/pgsql-9.1/bin/initdb'

$createdb_path = '/usr/pgsql-9.1/bin/createdb'

$psql_path = '/usr/pgsql-9.1/bin/psql'

$datadir = '/var/lib/pgsql/9.1/data/'

$pg_hba_conf_path = '/var/lib/pgsql/9.1/data/pg_hba.conf'

$postgresql_conf_path = '/var/lib/pgsql/9.1/data/postgresql.conf'

$firewall_supported = true

$persist_firewall_command = '/sbin/iptables-save >
/etc/sysconfig/iptables'
}




Op woensdag 29 augustus 2012 02:14:54 UTC-4 schreef OXS007 het volgende:
Hi,

When running the Postgresql module the database installed by default is
8.4 what we need is 9.1 where do i define the version to be installed by
puppet.

If i edit the params,pp like;

$client_package_name = 'postgresql91'
$server_package_name = 'postgresql91'

The 9.1 is being installed but i get some errors like these;

Execution of '/sbin/service postgresql start' returned 1

Thanks in forward for you help.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/0oZAJXRvTRgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 6 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedAug 29, '12 at 6:17a
activeSep 6, '12 at 5:22p
posts6
users3
websitepuppetlabs.com

People

Translate

site design / logo © 2023 Grokbase