Before we begin writing our code, we'll want to check the Forge for relevant supported or open source modules. WordPress requires an SQL server and a web host, which we'll provide via Apache HTTPD. Before we begin, we'll want to install the following modules from the Forge:
- puppetlabs-mysql
- puppetlabs-apache
- hunner-wordpress
[root@pe-puppet-master myapp]# puppet module install puppetlabs-mysqlNotice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...Notice: Downloading from https://forgeapi.puppet.com ...Notice: Installing -- do not interrupt .../etc/puppetlabs/code/environments/production/modules└─┬ puppetlabs-mysql (v5.4.0) ├── puppet-staging (v3.2.0) ├── puppetlabs-stdlib (v4.25.1) └── puppetlabs-translate ...