Additional code for Puppet Enterprise vRO/vRA Starter Content to deploy LAMP Stack
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
modules
site
README.md

README.md

Additional Puppet code for vRealize Automation Plug-in Starter Content Pack for vRA 7.3 and Puppet plug-in for vRealize 3.0

This Puppet code adds additional Modules, Manifests, Profiles and Roles for deploying a LAMP stack using a multi-machine vRA 7.3 blueprint.

LAMP is an open source Web development platform that uses Linux as the operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language. Because the platform has four layers, LAMP is sometimes referred to as a LAMP stack. Stacks can be built on different operating systems.

The LAMP stack consists of two server Roles, mysql and webapp. One installs a MySQL database server and the other installs a Apache/PHP web server.

Use vRA Custom Properties to define database name, user and password during request. The default property naming used in site/profile/manifests/lamp/mysql.pp is:

  • lamp_db_name
  • lamp_db_user
  • lamp_db_password

After a succesful deployment, open a webbrowser and type in http://[IP adress/FQDN of your webapp server] to verify the database connection.

Prerequisites: For using this code you must have Puppet Enterprise 7.x and VMware vRealize Automation 7.3 with Puppet plug-in 3.0 installed. Also the Puppet-vRO-Starter_Content pack has to be installed because the LAMP stack depends on several Profiles available in this Starter_Content.

To use this code, download and add it your Puppet code repository.

Special thanks for creation and testing of this LAMP content to Jeremy Adams and Kevin Reeuwijk from Puppet!

Getting started with Puppet Enterprise and Puppet plug-in for vRealize Automation

Here's your high-level plan to get started with vRA 7.3 Enterprise to take advantage of the new GUI Puppet components:

Note: if you are using vRealize 6.x or 7.0 through 7.2, then use the "iaas_eventbroker" branch of this repo.

vRA 7.3 Puppet docs:

Please see the Puppet plug-in for vRealize documentation for more detailed information.

Install Starter Content on your PE Master

Installation with git

git clone https://github.com/puppetlabs/puppet-vro-starter_content.git
cd puppet-vro-starter_content
sudo bash scripts/vra_nc_setup.sh
sudo /opt/puppetlabs/bin/puppet agent -t

Installation with curl

curl -sSL https://github.com/puppetlabs/puppet-vro-starter_content/archive/production.tar.gz | tar -zx
cd puppet-vro-starter_content-production
sudo bash scripts/vra_nc_setup.sh
sudo /opt/puppetlabs/bin/puppet agent -t