Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/Unity-Technologies/puppet-nginx.git
warn on inclusion of nginx:π¦:debian
This commit is contained in:
Π ΠΎΠ΄ΠΈΡΠ΅Π»Ρ
e2eba1dbe9
ΠΠΎΠΌΠΌΠΈΡ
d7800f44ee
|
@ -19,6 +19,11 @@ class nginx::package::debian(
|
|||
$package_source = 'nginx',
|
||||
$package_ensure = 'present'
|
||||
) {
|
||||
|
||||
if $caller_module_name != $module_name {
|
||||
warning("${name} is deprecated as a public API of the ${module_name} module and should no longer be directly included in the manifest.")
|
||||
}
|
||||
|
||||
$distro = downcase($::operatingsystem)
|
||||
|
||||
package { $package_name:
|
||||
|
|
ΠΠ°Π³ΡΡΠ·ΠΊΠ°β¦
Π‘ΡΡΠ»ΠΊΠ° Π² Π½ΠΎΠ²ΠΎΠΉ Π·Π°Π΄Π°ΡΠ΅