Puppet Class: php::pear

Defined in:
manifests/pear.pp

Overview

Manage PHP Extension and Application Repository framework.

Examples:

Declaring the class

include ::php
include ::php::pear

Parameters:

  • package_name (String)

See Also:

Since:

  • 1.0.0



12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/pear.pp', line 12

class php::pear (
  String $package_name,
) {

  if ! defined(Class['::php']) {
    fail('You must include the php base class before using the php::pear class')
  }

  package { $package_name:
    ensure => present,
  }
}