Skip to content

zertico/deploy_php

Repository files navigation

#deploy_php

####Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Operating Systems Support
  6. Development

##Overview

This module installs, manages and configures deploy_php.

##Module Description

The module is based on stdmod naming standards version 0.9.0.

Refer to http://github.com/stdmod/ for complete documentation on the common parameters.

##Setup

###Resources managed by deploy_php module

  • This module installs the deploy_php package
  • Enables the deploy_php service
  • Can manage all the configuration files (by default no file is changed)

###Setup Requirements

###Beginning with module deploy_php

To install the package nginx package and php5-fpm provided by the module just include it:

     include deploy_php

The main class arguments can be provided direct parameters to install apache and its modules:

     class { 'deploy_php':
       	webserver_name => 'apache',
     }
		
		 OR
     
     class { 'deploy_php':
       	webserver_name => 'apache',
			  servicephp_name => 'suphp'
     }

##Usage

  • A common way to use this module involves the deploy of wordpress:
	deploy_php::apache { "example.com":
    	createdb                    => true,
	    mysql_database_name         => 'm_example',
	    mysql_password              => 'iyDPMHFBiwFX6',
	    mysql_user                  => 'm_example',
	    system_username_password    => 'ycG/UabGX1SSc',
	    application									=> 'wordpress'		
	} 

##Operating Systems Support

This is tested on these OS:

  • Debian 7

##Development

Pull requests (PR) and bug reports via GitHub are welcomed.

When submitting PR please follow these quidelines:

  • Provide puppet-lint compliant code
  • If possible provide rspec tests
  • Follow the module style and stdmod naming standards

When submitting bug report please include or link:

  • The Puppet code that triggers the error
  • The output of facter on the system where you try it
  • All the relevant error logs
  • Any other information useful to undestand the context

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published