This module for Puppet installs Lamp on CentOS and Ubuntu Clients.
Project in GitHub https://github.com/garanet/puppet_lamp_x.git
Puppet module that installs Lamp on CentOS and Ubuntu Clients.
In Puppet we can install modules or services like mysql-server or ntpd, this module does this.
Tested on: Server – Ubuntu 16.04.1 LTS – 192.168.0.200/24 – PuppetMaster 3.8.5
On the Puppet Server run:
puppet module install puppetlabs-stdlib
cd /etc/puppet/modules/
git clone https://github.com/garanet/puppet_lamp_x.git
echo node default { include lamp } >> manifests/site.pp
service puppetmaster restart
On Clients machines run:
Client Centos 3.10.0-327.el7.x86_64
/opt/puppetlabs/bin/puppet agent —test
Client Ubuntu 14.04.1:
puppet agent --test
Now from your web browser, by typing the IP of your Clients you will see the PHPINFO page.
Remember, you can install other modules like:
puppet module install puppetlabs-mysql
puppet module install saz/ntp