- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with phppgadmin
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
A puppet module to install phpPgAdmin.
phpPgAdmin is a web application used to administrator PostgreSQL. This puppet module will install and configure phpPgAdmin. An example is provided below on how to use this with the puppetlabs/apache module to also set up Apache.
- phpPgAdmin package
- phpPgAdmin configuration
phpPgAdmin can be installed simply by including the module:
class { 'phppgadmin': }
By itself, installing phpPgAdmin will not be very useful as it needs a webserver to run. To install phppgadmin with puppetlab's apache module:
class { 'apache': }
class { 'apache::mod::php': }
apache::vhost { 'phppgadmin':
docroot => '/var/www/html',
port => 80,
aliases => [
{
alias => '/phpPgAdmin',
path => '/usr/share/phpPgAdmin'
}, {
alias => '/phppgadmin',
path => '/usr/share/phpPgAdmin'
}
],
}
Configuration parameters to apply to phppgadmin. This should be a hash with the key as the property and the appropriate value.
Servers to be added phpPgAdmin. This is an array of hashes with the hash containing the properties and values for the host.
Server groups to be added to phpPgAdmin. This is an array of hashes with the hash containing the properties and values for the group.
Location of the phpPgAdmin configuration file.
Name of the phpPgAdmin package
User name the config file should be owend by. This will typically be your web server
Group the config file should be owend by. This will typically be your web server
Version of phpMyAdmin to install
This has only been tested on CentOS 6 and 7.
Since your module is awesome, other users will want to play with it. Let them know what the ground rules for contributing are.
If you aren't using changelog, put your release notes here (though you should consider using changelog). You may also add any additional sections you feel are necessary or important to include here. Please use the ##
header.