|
1 | 1 | # @summary Configure the ZendPHP package repositories depending on OS and version
|
2 | 2 | #
|
| 3 | +# @example Without parameters |
| 4 | +# include zend_common::repo |
| 5 | +# |
| 6 | +# @example With product other than ZendPHP |
| 7 | +# class { 'zend_common::repo': |
| 8 | +# product => 'ZendHQ', |
| 9 | +# support_urls => { |
| 10 | +# supported_platforms => 'https://help.zend.com/zendphp/current/content/installation/zendhq_supported_platforms.htm', |
| 11 | +# }, |
| 12 | +# } |
| 13 | +# |
| 14 | +# @example With credentials |
| 15 | +# class { 'zend_common::repo': |
| 16 | +# creds => { |
| 17 | +# username => '<ZEND_USERNAME>', |
| 18 | +# password => '<ZEND_PASSWORD>', |
| 19 | +# } |
| 20 | +# } |
| 21 | +# |
3 | 22 | # @param [Enum['ZendPHP', 'ZendHQ']] product
|
4 | 23 | # Name of the Zend product
|
5 | 24 | #
|
|
27 | 46 | # @option support_urls [String] supported_platforms
|
28 | 47 | # Link to the supported platforms for the relevant Zend product
|
29 | 48 | #
|
30 |
| -# @example Without parameters |
31 |
| -# include zend_common::repo |
32 |
| -# |
33 |
| -# @example With product other than ZendPHP |
34 |
| -# class { 'zend_common::repo': |
35 |
| -# product => 'ZendHQ', |
36 |
| -# support_urls => { |
37 |
| -# supported_platforms => 'https://help.zend.com/zendphp/current/content/installation/zendhq_supported_platforms.htm', |
38 |
| -# }, |
39 |
| -# } |
40 |
| -# |
41 |
| -# @example With credentials |
42 |
| -# class { 'zend_common::repo': |
43 |
| -# creds => { |
44 |
| -# username => '<ZEND_USERNAME>', |
45 |
| -# password => '<ZEND_PASSWORD>', |
46 |
| -# } |
47 |
| -# } |
48 |
| -# |
49 | 49 | class zend_common::repo (
|
50 | 50 | Enum['ZendPHP', 'ZendHQ'] $product = 'ZendPHP',
|
51 | 51 | Optional[Hash] $creds = undef,
|
|
0 commit comments