puppet/modules/rhizo_base/manifests/postgresql.pp
Ciaby 1c7dffc32a Initial refactoring
Renamed rhizomatica_base_system to rhizo_base
Split up the init.pp in different subclasses
More work to follow
2015-05-18 14:01:31 -05:00

25 lines
496 B
Puppet

# Class: rhizo_base::postgresql
#
# This module manages the PostgreSQL database
#
# Parameters: none
#
# Actions:
#
# Requires: see Modulefile
#
# Sample Usage:
#
class rhizo_base::postgresql {
class { 'postgresql::globals':
manage_package_repo => true,
version => '9.3',
}->
class { 'postgresql::server':
}
postgresql::server::db { 'rhizomatica':
user => 'rhizomatica',
password => postgresql_password('rhizomatica', $pgsql_pwd),
}
}