|
25 | 25 | # @param daemon_dev |
26 | 26 | # Specifies whether `::mysql::bindings::daemon_dev` should be included. Valid values are `true`, `false`. |
27 | 27 | # @param java_package_ensure |
28 | | -# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. Only applies if `java_enable => true`. |
| 28 | +# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. |
| 29 | +# Only applies if `java_enable => true`. |
29 | 30 | # @param java_package_name |
30 | 31 | # The name of the Java package to install. Only applies if `java_enable => true`. |
31 | 32 | # @param java_package_provider |
32 | 33 | # The provider to use to install the Java package. Only applies if `java_enable => true`. |
33 | 34 | # @param perl_package_ensure |
34 | | -# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. Only applies if `perl_enable => true`. |
| 35 | +# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. |
| 36 | +# Only applies if `perl_enable => true`. |
35 | 37 | # @param perl_package_name |
36 | 38 | # The name of the Perl package to install. Only applies if `perl_enable => true`. |
37 | 39 | # @param perl_package_provider |
38 | 40 | # The provider to use to install the Perl package. Only applies if `perl_enable => true`. |
39 | 41 | # @param php_package_ensure |
40 | | -# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. Only applies if `php_enable => true`. |
| 42 | +# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. |
| 43 | +# Only applies if `php_enable => true`. |
41 | 44 | # @param php_package_name |
42 | 45 | # The name of the PHP package to install. Only applies if `php_enable => true`. |
43 | 46 | # @param php_package_provider |
44 | 47 | # The provider to use to install the PHP package. Only applies if `php_enable => true`. |
45 | 48 | # @param python_package_ensure |
46 | | -# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. Only applies if `python_enable => true`. |
| 49 | +# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. |
| 50 | +# Only applies if `python_enable => true`. |
47 | 51 | # @param python_package_name |
48 | 52 | # The name of the Python package to install. Only applies if `python_enable => true`. |
49 | 53 | # @param python_package_provider |
50 | 54 | # The provider to use to install the Python package. Only applies if `python_enable => true`. |
51 | 55 | # @param ruby_package_ensure |
52 | | -# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. Only applies if `ruby_enable => true`. |
| 56 | +# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. |
| 57 | +# Only applies if `ruby_enable => true`. |
53 | 58 | # @param ruby_package_name |
54 | 59 | # The name of the Ruby package to install. Only applies if `ruby_enable => true`. |
55 | 60 | # @param ruby_package_provider |
56 | 61 | # What provider should be used to install the package. |
57 | 62 | # @param client_dev_package_ensure |
58 | | -# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. Only applies if `client_dev => true`. |
| 63 | +# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. |
| 64 | +# Only applies if `client_dev => true`. |
59 | 65 | # @param client_dev_package_name |
60 | 66 | # The name of the client_dev package to install. Only applies if `client_dev => true`. |
61 | 67 | # @param client_dev_package_provider |
62 | 68 | # The provider to use to install the client_dev package. Only applies if `client_dev => true`. |
63 | 69 | # @param daemon_dev_package_ensure |
64 | | -# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. Only applies if `daemon_dev => true`. |
| 70 | +# Whether the package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. |
| 71 | +# Only applies if `daemon_dev => true`. |
65 | 72 | # @param daemon_dev_package_name |
66 | 73 | # The name of the daemon_dev package to install. Only applies if `daemon_dev => true`. |
67 | 74 | # @param daemon_dev_package_provider |
|
102 | 109 | ) inherits mysql::params { |
103 | 110 | case $facts['os']['family'] { |
104 | 111 | 'Archlinux': { |
105 | | - if $java_enable { fail("::mysql::bindings::java cannot be managed by puppet on ${::facts['os']['family']} as it is not in official repositories. Please disable java mysql binding.") } |
| 112 | + if $java_enable { fail("::mysql::bindings::java cannot be managed by puppet on ${facts['os']['family']} as it is not in official repositories. Please disable java mysql binding.") } |
106 | 113 | if $perl_enable { include 'mysql::bindings::perl' } |
107 | | - if $php_enable { warning("::mysql::bindings::php does not need to be managed by puppet on ${::facts['os']['family']} as it is included in mysql package by default.") } |
| 114 | + if $php_enable { warning("::mysql::bindings::php does not need to be managed by puppet on ${facts['os']['family']} as it is included in mysql package by default.") } |
108 | 115 | if $python_enable { include 'mysql::bindings::python' } |
109 | | - if $ruby_enable { fail("::mysql::bindings::ruby cannot be managed by puppet on ${::facts['os']['family']} as it is not in official repositories. Please disable ruby mysql binding.") } |
| 116 | + if $ruby_enable { fail("::mysql::bindings::ruby cannot be managed by puppet on ${facts['os']['family']} as it is not in official repositories. Please disable ruby mysql binding.") } |
110 | 117 | } |
111 | 118 |
|
112 | 119 | default: { |
|
0 commit comments