Puppet Class: psick::php::pear

Defined in:
manifests/php/pear.pp

Summary

Installs Pear for PHP module

Overview

Class: psick::php::pear

This class installs php pear. It’s

Parameters:

  • package (String) (defaults to: 'php-pear')

    Name of the package to install.

  • ensure (Psick::Ensure) (defaults to: 'present')

    Ensure parameter for the package to install.

  • package_options (Hash) (defaults to: {})

    An hash to pass to the package resource for special installation needs.



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'manifests/php/pear.pp', line 14

class psick::php::pear (
  Psick::Ensure $ensure = 'present',
  String $package       = 'php-pear',
  Hash $package_options = {}
  ) {

  $default_options = {
    ensure          => $ensure,
  }
  package { $package:
    * => $default_options + $package_options,
  }

}