Dependencies

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-mysql
Notice: 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 (v1.1.0)
[root@pe-puppet-master myapp]# puppet module install puppetlabs-apache
Notice: 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-apache (v3.1.0)
├── puppetlabs-concat (v4.2.1)
└── puppetlabs-stdlib (v4.25.1)
[root@pe-puppet-master myapp]# puppet module install hunner-wordpress
Notice: 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
└─┬ hunner-wordpress (v1.0.0)
├── puppetlabs-concat (v4.2.1)
├── puppetlabs-mysql (v5.4.0)
└── puppetlabs-stdlib (v4.25.1)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.35.81