Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

RG Bank application puppet module - managed by Product Marketing team

Notifications You must be signed in to change notification settings

puppetlabs-seteam/puppetlabs-rgbank

 
 

Repository files navigation

UPDATE!

This repository is no longer in use by the Puppet SE Team, and will be official Archived on Friday, July 1st. It will then be deleted on Friday, July 15th. If you are using any of the included code in any way, please take efforts to preserver your access to the code at your earlier convenience.

Thanks! - The Puppetlabs SE Team

Table of Contents

  1. Overview
  2. Setup
  3. Usage

Overview

The purpose of the puppet-rgbank module is to install all application components and setup a working copy of the RGBank application

Notice

THIS IS AN EXAMPLE APPLICATION ORCHESTRATION MODULE - NOT INTENDED FOR PRODUCTION USE

Setup

###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,
}

Usage

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]],
  },
}

About

RG Bank application puppet module - managed by Product Marketing team

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 49.9%
  • Ruby 47.6%
  • Shell 2.2%
  • HTML 0.3%