Version information
This version is compatible with:
- Puppet Enterprise 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
Add this module to your Puppetfile:
mod 'zend-zendhq', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
zend/zendhq Puppet Module
This Puppet module manages ZendHQ, a Zend product add-on for ZendPHP Enterprise.
Table of Contents
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',
},
}
Reference
See REFERENCE.md
Reference
Table of Contents
Classes
Public Classes
zendhq
: Manage ZendHQ package, service, and configuration
Private Classes
zendhq::config
: Configure zendhq.ini settingszendhq::package
: Manage the zendhqd packagezendhq::params
: default settings and according to operating systemzendhq::service
: Manage zendhq service
Defined types
Private Defined types
zendhq::config::setting
: Configure a zendhqd.ini setting
Classes
zendhq
Manage ZendHQ package, service, and configuration
- See also
- https://help.zend.com/zendphp/current/content/zendhq/zendhq_service_configuration.htm
- for possible settings
- https://help.zend.com/zendphp/current/content/zendhq/zendhq_service_configuration.htm
Examples
Basic ZendHQ setup
class { 'zendhq':
license_source => 'puppet:///modules/<MODULE_NAME>/zend/license'
}
Setup ZendHQ with some configuration
class { 'zendhq':
license_source => 'puppet:///modules/<MODULE_NAME>/zend/license',
settings => {
'zendhq.daemon_uri' => 'tcp://0.0.0.0:10090',
},
}
Parameters
The following parameters are available in the zendhq
class:
license_source
settings
service_provider
service_ensure
service_name
service_enable
package_ensure
package_name
license_source
Data type: String[1]
Source path or puppet URL to license file
settings
Data type: Optional[Hash[String, Variant[String, Integer]]]
System service provider, like systemctl; auto-detected if left undef
Default value: undef
service_provider
Data type: Optional[String[1]]
System service provider, like systemctl; auto-detected if left undef
Default value: undef
service_ensure
Data type: Enum['running', 'stopped']
Enure value for the ZendHQ service
Default value: $zendhq::params::service_ensure
service_name
Data type: String[1]
Name of ZendHQ service
Default value: $zendhq::params::service_name
service_enable
Data type: Boolean
Whether the service should be enabled or not
Default value: $zendhq::params::service_enable
package_ensure
Data type: String[1]
Ensure value for the ZendHQ package
Default value: $zendhq::params::package_ensure
package_name
Data type: String[1]
Name of the ZendHQ package
Default value: $zendhq::params::package_name
Dependencies
- puppetlabs/stdlib (>= 4.16.0 < 9.0.0)
- puppetlabs/apt (>= 4.4.0 < 9.0.0)
- puppetlabs/inifile (>= 1.4.1 < 6.0.0)
- zend/zend_common (>= 1.0.0 < 8.0.0)
MIT License Copyright (c) 2022 Zend Technologies Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.