Initial refactoring
Renamed rhizomatica_base_system to rhizo_base Split up the init.pp in different subclasses More work to follow
This commit is contained in:
parent
7b938abede
commit
1c7dffc32a
192 changed files with 547 additions and 430 deletions
25
modules/rhizo_base/manifests/postgresql.pp
Normal file
25
modules/rhizo_base/manifests/postgresql.pp
Normal file
|
@ -0,0 +1,25 @@
|
|||
# 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),
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue