Forge Home

ioncubeloader

Ioncube loader support for php

13,667 downloads

12,623 latest version

3.1 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.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Jan 25th 2015
This version is compatible with:
  • Puppet >=2.7.0 <4.0.0
  • , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'golja-ioncubeloader', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add golja-ioncubeloader
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install golja-ioncubeloader --version 0.1.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

golja/ioncubeloader — version 0.1.2 Jan 25th 2015

#ioncubeloader

##Overview

This modules install ioncube loader from ioncube

Tested with Travis

Build Status

##Module description

This modules install and register the ioncube zend php extension on your Linux system

##Installation

$ puppet module install golja/ioncubeloader

##Usage

Install ioncubeloader

include '::ioncubeloader'

Install ioncubeloader and notify the http server (apache only)

class { '::ioncubeloader':
  manage_http_service => true
}

Recommended usage, if you use a third party module to manage httpd service. The example below should work with puppetlabs-apache module.

class { '::ioncubeloader':
  notify => Service['httpd']
}

##Limitation

Due to how ioncube libraries are packed it's impossible to define the version of ioncube you would like to install, so the module will always fetch the last available version from their website. If you would like to control that use your own archive and adjust ioncube_server and ioncube_archive attributes. Also it's worth to mention that the module expects that the archive is in tar.gz format and the output folder is ioncube/.

##Reference

###Classes

####Public classes

  • ioncubeloader: install and configure ioncube loader

####Private classes

  • ioncubeloader::params: Predefine params based on facter/environment
  • ioncubeloader::service: Manage http service in case we don't have an external module

###Parameters

####ioncubeloader

#####ensure

enable or disable the module. Valid values are present or absent

#####ioncube_server

This setting can be used to define theURL address from where to download ioncube module. Default value http://downloads3.ioncube.com/loader_downloads/

#####ioncube_archive

Archive name of the .tar.gz with the library. Default value based on your OS architecture

#####php_version

This setting can be used to override php version installed. If not specified, the module will use the default for your OS distro.

#####ts

Define threat safety disabled or enabled. Valid values are true or false. Default value false

#####php_conf_dir

This setting can be used to override php conf directory. If not specified, the module will use the default for your OS distro.

#####install_prefix

This setting can be used to override where to install the ioncube loader libraries. Default value /usr/local

#####ini_file

This setting can be used to override ioncube ini file name. Default value ioncube.ini

#####manage_http_service

This setting can be used to manage the notification of ioncube loader settings changes to the http service. For now it supports only apache httpd. I recommend to use a third party module for that. Look above in the example section for more info. Default value false

Supported Platforms

  • Debian Wheezy
  • Ubuntu 12+
  • RedHat 5/6
  • CentOS 5/6
  • Amazon AMI

License

See LICENSE file