Forge Home

bazinga

This module contains a set of roles and some useful functions.

12,731 downloads

10,017 latest version

3.8 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

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

  • 0.0.16 (latest)
  • 0.0.15
  • 0.0.14
  • 0.0.13
  • 0.0.12
  • 0.0.11
  • 0.0.10
  • 0.0.9 (deleted)
  • 0.0.8 (deleted)
  • 0.0.7 (deleted)
  • 0.0.6 (deleted)
  • 0.0.5 (deleted)
  • 0.0.4 (deleted)
  • 0.0.3 (deleted)
  • 0.0.2 (deleted)
released Oct 25th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'willdurand-bazinga', '0.0.16'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add willdurand-bazinga
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install willdurand-bazinga --version 0.0.16

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

willdurand/bazinga — version 0.0.16 Oct 25th 2013

puppet-bazinga

Build Status

This Puppet module contains a set of roles and some useful functions for the following modules:

Installation

Using the Puppet Module Tool, install the willdurand/bazinga package by running the following command:

puppet module install willdurand/bazinga

Otherwise, clone this repository, and make sure to install the proper dependencies.

Important: Version 0.0.11 is broken, do not use it, never!

Minimum Requirements

The bazinga::roles::base role requires the following modules to work:

Other roles need modules listed in introduction.

Installation

Get the modules above, and that one by cloning it:

git clone git://github.com/willdurand/puppet-bazinga.git modules/bazinga

The Roles

This module provides a set of roles. Most of them depends on other Puppet modules.

bazinga::roles::base

This role depends on:

It configures APT and NTP, ensures ssh is present and running, installs common tools such as screen, curl, htop, ack-grep, and vim, and removes useless packages (nfs-common, portmap) on standard machines (i.e. not Vagrant machines as Vagrant requires them).

class { 'bazinga::roles::base':
    vagrant => true,
}

bazinga::roles::apache

This role depends on:

It installs Apache, enables the rewrite mod, and adds a new home directory for the Apache user (/home/${user}/www) if it is not the default one (www-data for instance).

If you want to configure your own Apache user and/or group, this role will create them:

class { 'bazinga::roles::apache':
  apache_user  => 'foo',
  apache_group => 'bar',
}

bazinga::roles::apache_fpm

This role depends on:

It relies on the bazinga::roles::apache role.

It installs not only Apache, but also the fastcgi mod, enables the actions and fastcgi mods, installs FPM, and creates a FPM pool for the Apache user.

bazinga::roles::php

This role depends on:

It installs a fully working PHP environment including the curl, intl and apc extensions, and Composer.

Important: this role does not install anything related to any web server. If you want to use PHP to run web applications, use the bazinga::roles::apache_fpm role in addition.

Important: this role does not install anything related to any database vendor. If you want to use MySQL, use the bazinga::roles::php_mysql role instead.

Running the tests

Install the dependencies using Bundler:

BUNDLE_GEMFILE=.gemfile bundle install

Run the following command:

BUNDLE_GEMFILE=.gemfile bundle exec rake spec

License

puppet-bazinga is released under the MIT License. See the bundled LICENSE file for details.