phpbrew

contributions requested
Puppet module for phpbrew.

6,315 downloads

6,260 latest version

4.0 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.0.2 (latest)
  • 1.0.1 (deleted)
released Dec 20th 2016

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'gmalex-phpbrew', '1.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add gmalex-phpbrew
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install gmalex-phpbrew --version 1.0.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

gmalex/phpbrew — version 1.0.2 Dec 20th 2016

puppet-phpbrew

Puppet module for phpbrew.

Usage

phpbrew::install{ '5.3.27':
  $version = '',
  $build_parameters = undef,
  $php_inis = undef,
  $install_dir = '/opt/phpbrew',
}

Configuration

You can additional define the version (if the name should be different), the build parameters, the php ini files you want to copy and the install directory:

phpbrew::install{ 'php-5.3.27':
  $version => '5.3.27',
  $build_parameters => '+mysql',
  $php_inis => [
    '/etc/php5/mods-available/custom.ini'
  ],
  $install_dir => '/opt/custom_dir',
}

Default values:

$version = '',
$build_parameters = undef
$php_inis = undef
$install_dir = '/opt/phpbrew'

Install php extension

Usage

define phpbrew::extension{ 'xdebug':
  $php_version = '5.3.27',
}

Note the php version is required and the php version must be installed by php brew.

Configuration

You can additional define the extension name (if the name should be different), the version (if now version is given the latest will used), the build parameters and the install directory:

Default values:

$extension = undef
$version = undef
$install_dir = '/opt/phpbrew'

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Copyright

Alexander Schneider