2011-06-07 01:05:27 +02:00
|
|
|
# Class: nginx::package::suse
|
|
|
|
#
|
|
|
|
# This module manages NGINX package installation for SuSE based systems
|
|
|
|
#
|
|
|
|
# Parameters:
|
2011-06-15 21:40:42 +02:00
|
|
|
#
|
|
|
|
# There are no default parameters for this class.
|
2011-06-07 01:05:27 +02:00
|
|
|
#
|
|
|
|
# Actions:
|
2011-06-07 18:00:01 +02:00
|
|
|
# This module contains all of the required package for SuSE. Apache and all
|
2011-06-15 21:40:42 +02:00
|
|
|
# other packages listed below are built into the packaged RPM spec for
|
|
|
|
# SuSE and OpenSuSE.
|
2011-06-07 01:05:27 +02:00
|
|
|
# Requires:
|
|
|
|
#
|
|
|
|
# Sample Usage:
|
|
|
|
#
|
|
|
|
# This class file is not called directly
|
2014-04-01 19:07:50 +02:00
|
|
|
class nginx::package::suse (
|
|
|
|
$package_name = 'nginx'
|
|
|
|
) {
|
2014-01-06 22:29:28 +01:00
|
|
|
|
2014-03-10 02:34:42 +01:00
|
|
|
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.")
|
|
|
|
}
|
|
|
|
|
2014-04-01 19:07:50 +02:00
|
|
|
package { $package_name:
|
2013-09-04 19:29:30 +02:00
|
|
|
ensure => $nginx::package_ensure,
|
2011-06-15 21:40:42 +02:00
|
|
|
}
|
2011-06-07 18:00:01 +02:00
|
|
|
}
|