Giter VIP home page Giter VIP logo

puppet-php5-fpm's Introduction

# php5-fpm module #
Author	: Benoit CATTIE <[email protected]>, Lars Fronius <[email protected]>
Version	: 0.2
Licence	: GPLv3

Fully puppet-lint compliant  module for configuring php5-fpm via puppet.

## Intro ##

This module installs php5-fpm from packages. 

php5-fpm is not yet packaged in standart distrib repositories. 
Tested yet with dotdeb packages (xml conf).
 
Overwrites default conf with one than only include /etc/php5/fpm/pool.d/*.conf.

Configuration is made by 'php5-fpm::config' definition.

See below for details.

## Class: php5-fpm ##

This class manage php5-fpm installation and configuration. 
Config file 'php-fpm.conf' is very minimal : only include /etc/php5/fpm/pool.d/*.conf
Use php5-fpm::config for configuring php5-fpm 

Templates:
	- php-fpm.conf.erb


## Define : php5-fpm::config ##

Define a php-fpm config snippet. Places all config snippets into
/etc/php5/fpm/pool.d, where they will be automatically loaded

Parameters :
	* ensure: typically set to "present" or "absent".  Defaults to "present"
	* content: set the content of the config snipppet.  Defaults to 'template("php5-fpm/pool.d/$name.conf.erb")'
	* order: specifies the load order for this config snippet.  Defaults to "500"

Sample Usage:
 	php5-fpm::config{ "global":
		ensure	=> present,
		order	=> "000",
	}
	php5-fpm::config{ "www-example-pool":
		ensure	=> present,
		content	=> template("php5-fpm/www-pool.conf.erb"),
	}

puppet-php5-fpm's People

Contributors

benoitcattie avatar tiengo avatar fernandes avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.