Categories: Development

Puppet module that installs Lamp on CentOS and Ubuntu clients.

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.

module_puppet_garanet


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

Share

Recent Posts

FastAPI, SQLAlchemy & Uvicorn

A FastAPI, SQLAlchemy & Uvicorn to fetch a Google Sheet A FastAPI, SQLAlchemy & Uvicorn to fetch a Google Sheet… Read More

Client TrueNas & Ldap with python Flask

A webtool in Python Flask that creates an LDAP user and his TrueNAS shares pool in ISCSI or NFS. There… Read More

Simple Terraform configuration

A Terraform configuration that provisions the following infrastructure: A VPC with: Public subnets for external resources. Private subnets for internal… Read More