Skip to content

JulienD/puppet-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What does it do?

This repository is a handy set of Puppet modules for managing a LAMP stack, and more. Classes are designed to be easy to re-use.

  • Apache 2.2
  • PHP 5.3
  • phpMyAdmin
  • MySQL Server
  • Drush
  • Git
  • Memcache

TODO list

  • xdebug
  • memcacheadmin
  • apc + admin
  • mongodb + admin
  • xhprof
  • nodejs

Installation

To get started with puppet run the following commands to download and install the required packages:

sudo apt-get update sudo apt-get install puppet

Next, clone the Git repository:

git clone git://github.com/JulienD/puppet-modules.git

Initialization

Before you can run Puppet, you must create a file named `settings.pp` in the `manifests` directory and specify the following :

$mysql_password  = 'your mysql password'
$server_info_dir = 'info'

Creating new puppet module

To create a new module use this default template.

``` mkdir –p /puppet_folder/modules/MODULE_NAME/{files,templates,manifests} touch /puppet_folder/modules/MODULE_NAME/manifests/init.pp ```

About

Puppet manifests for setting up a LAMP environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages