Version information
released Dec 1st 2013
Start using this module
Add this module to your Puppetfile:
mod 'illuminatis-racktables', '0.0.2'
Learn more about managing modules with a PuppetfileDocumentation
illuminatis/racktables — version 0.0.2 Dec 1st 2013
RackTables module for Puppet
Puppet module to manage RackTables installation. This module clones git repository to demanded location, inits database (or leaves it for manual initialization via web) and provides simple vhost for apache (httpd) and nginx. Module installs necessary PHP dependencies.
For an automated version default credentials are: login: admin password: admin
Usage
Gets RackTables from git repo, set apache vhost and continue installation via web:
class { 'racktables':
install_dir => '/var/www/htdocs/racktables',
use_installer => true,
}
Get RackTables from git repo, set nginx vhost (with your server_name), install all PHP dependencies, create proper secret.php and init database automatically:
class { 'racktables':
install_dir => '/var/www/htdocs/racktables',
install_deps => 'all',
web_server => 'nginx',
server_name => 'racktables.example.com',
db_name => 'racktables_db',
db_host => 'localhost',
db_username => 'racktables_user',
db_password => 'racktables_pass',
}
Assumptions
- module assumes you have already created MySQL database (probably via mysql module)
Supported platforms
- RHEL/CentOS
- Ubuntu
TODO
- SSL option for the vhost config.
- tests? :)