zend_common::license
: Upload a Zend product license to the proper directoryzend_common::repo
: Configure the ZendPHP package repositories depending on OS and version
Upload a Zend product license to the proper directory
class { 'zend_common::license':
source => 'puppet:///modules/<MODULE_NAME>/zend/license',
notify => Class['zendhq::service'],
subscribe => Class['zendhq::package'],
}
$license = Deferred('vault_lookup::lookup',["licenses/zendhq"], 'https://vault.server.lcl:8200',)
class { 'zend_common::license':
content => $license,
}
The following parameters are available in the zend_common::license
class:
Data type: Optional[String[1]]
Source path or puppet URL to license file
Default value: undef
Data type: Optional[String[1]]
Contents of the license file
Default value: undef
Configure the ZendPHP package repositories depending on OS and version
include zend_common::repo
class { 'zend_common::repo':
product => 'ZendHQ',
support_urls => {
supported_platforms => 'https://help.zend.com/zendphp/current/content/installation/zendhq_supported_platforms.htm',
},
}
class { 'zend_common::repo':
creds => {
username => '<ZEND_USERNAME>',
password => '<ZEND_PASSWORD>',
}
}
The following parameters are available in the zend_common::repo
class:
Data type: Enum['ZendPHP', 'ZendHQ']
Name of the Zend product
Default value: 'ZendPHP'
Data type: Optional[Hash]
ZendPHP repo credentials
Options:
- username
String
: ZendPHP repo username - password
String
: ZendPHP repo password
Default value: undef
Data type: Hash
ZendPHP repo key
Options:
- id
String
: ZendPHP repo key id - source
String
: ZendPHP repo key source URL
Default value:
{
id => '799058698E65316A2E7A4FF42EAE1437F7D2C623',
source => 'https://repos.zend.com/zend.key',
}
Data type: Hash
Links to relevant Zend product documentation
Options:
- supported_platforms
String
: Link to the supported platforms for the relevant Zend product
Default value:
{
supported_platforms => 'https://help.zend.com/zendphp/current/content/introduction/supported_platforms.htm',
}