Forge Home

zendhq

Zend module for installig and configuring ZendHQ

420 downloads

87 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.2.1 (latest)
  • 1.2.0
  • 1.0.1
  • 1.0.0 (deleted)
released Jul 24th 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
  • , , , , , , , ,
Tasks:
  • group_add
  • group_add_user
  • group_comment
  • group_disable
  • group_enable
  • group_list
  • group_print
  • and 13 more. See all tasks

Start using this module

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

Add this module to your Puppetfile:

mod 'zend-zendhq', '1.2.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install zend-zendhq --version 1.2.1

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/zendhq — version 1.2.1 Jul 24th 2024

zend/zendhq Puppet Module

This Puppet module manages ZendHQ, a Zend product add-on for ZendPHP Enterprise.

Table of Contents

  1. What zendhq affects
  2. Usage
  3. Reference

What zendhq affects

This module adds the ZendPHP package repositories and manages the ZendHQ service, which can be installed, uninstalled, started, stopped, and configured.

Usage

Using zendhq to setup the ZendPHP repositories and install ZendHQ without configuration is as simple as providing a Zend product license:

class { 'zendhq':
  license_source => 'puppet:///modules/<MODULE_NAME>/zend/license',
}

Include settings to configure ZendHQ.

class { 'zendhq':
  license_source => 'puppet:///modules/<MODULE_NAME>/zend/license',
  settings => {
    'zendhq.daemon_uri' => 'tcp://0.0.0.0:10090',
  },
}

Creating a new group and user with read-only permissions using Bolt.

$ bolt task run zendhq::group_add group=readonly permissions='r zray,mon,conf,ct,jq' -t zendhq_server
$ # verify group creation and permissions
$ bolt task run zendhq::group_print group=readonly -t zendhq_server
$ bolt task run zendhq::user_add user=readonly_user password=readonly_password group=readonly -t zendhq_server
$ # verify user creation and permissions
$ bolt task run zendhq::user_print user=readonly_user -t zendhq_server

Tasks

Installation of ZendHQ comes with a helpful tool, zendhqctl, for managing groups, users, and their permissions. While this CLI could be called with Puppet's exec functionality, this module comes with tasks for all the zendhqctl commands, making them easy to call with PE or Bolt.

Please see the reference below for a list of tasks in this module.

Reference

See REFERENCE.md