
Renamed rhizomatica_base_system to rhizo_base Split up the init.pp in different subclasses More work to follow
25 lines
496 B
Puppet
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),
|
|
}
|
|
}
|