Forge Home

zend_common

Contains shared code for ZendPHP add-on modules.

748 downloads

75 latest version

5.0 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.

Version information

  • 1.1.2 (latest)
  • 1.1.1
  • 1.1.0
  • 1.0.0
released Aug 7th 2024
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x
  • Puppet >= 6.21.0 < 8.0.0
  • , , , , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'zend-zend_common', '1.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add zend-zend_common
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install zend-zend_common --version 1.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

zend/zend_common — version 1.1.2 Aug 7th 2024

zend/zend_common Puppet Module

This Puppet module contains shared resources for all Zend modules, which require the ZendPHP repositories and sometimes a license.

Table of Contents

  1. What zend_common affects
  2. Usage
  3. Reference

What zend_common affects

zend_common::repo will setup the ZendPHP package repositories for yum or apt, depending on the operating system.

zend_common::license simply uploads the provided Zend product license to the proper directory.

Usage

Using zend_common::repo to setup the ZendPHP repositories without credentials is as simple as including the class.

include 'zend_common::repo'

Include credentials to gain access to ZendPHP LTS binaries.

class { 'zend_common::repo':
  creds => {
    username => '<ZEND_USERNAME>',
    password => '<ZEND_PASSWORD>',
  }
}

To change fail messages to be more relevant per product, define the product and support URLs.

class { 'zend_common::repo':
  product => 'ZendHQ',
  support_urls => {
    supported_platforms => 'https://help.zend.com/zendphp/current/content/installation/zendhq_supported_platforms.htm',
  },
}

Zend products like ZendHQ require a license file be present. zend_common::license simply ensures the product license file is uploaded to the proper directory.

class { 'zend_common::license':
  source => 'puppet:///modules/<MODULE_NAME>/zend/license',
}

Reference

See REFERENCE.md