The purpose of the puppet-rgbank
module is to install all application components and setup a working copy of the RGBank application
This module is not supported or maintained by Puppet and does not qualify for Puppet Support plans. It's provided without guarantee or warranty and is not intended for public or production use. It is for demonstration purposes only.
[tier:demo]
###Prerequisites While this module can be deployed on a single node, or multiple nodes - you must first install some prerequisite software. This software should be installed/handled in a profile PRIOR to applying the RGBank application components
Database Node
- MySQL
Web Node(s)
- Apache
- PHP
- MySQL Client
- MySQL PHP Bindings
Example of doing this using the puppetlabs-apache
and puppetlabs-mysql
modules:
Database Node
include ::mysql::server
include ::mysql::client
Web Nodes(s)
class {'::apache':
default_vhost => false,
}
include ::apache::mod::php
include ::mysql::client
class {'::mysql::bindings':
php_enable => true,
}
An example declaration of this application in site.pp:
rgbank { 'getting-started':
listen_port => 8010,
nodes => {
Node['appserver1d.example.com'] => [Rgbank::Db[getting-started]],
Node['appserver1b.example.com'] => [Rgbank::Web[appserver-01_getting-started]],
Node['appserver1c.example.com'] => [Rgbank::Web[appserver-02_getting-started]],
Node['appserver1a.example.com'] => [Rgbank::Load[getting-started]],
},
}