Puppet Class: php::cli

Defined in:
manifests/cli.pp

Overview

Manage PHP CLI.

Examples:

Declaring the class

include ::php
include ::php::cli

Parameters:

  • package_name (String)

See Also:

Since:

  • 1.0.0



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

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

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

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