Fixed lint errors
This commit is contained in:
Родитель
5e5f9d2ec7
Коммит
acc093db32
|
@ -7,7 +7,7 @@
|
||||||
# *package_name*
|
# *package_name*
|
||||||
# Needs to be specified. SFEnginx,CSWnginx depending on where you get it.
|
# Needs to be specified. SFEnginx,CSWnginx depending on where you get it.
|
||||||
#
|
#
|
||||||
# *package_source*
|
# *package_source*
|
||||||
# Needed in case of Solaris 10.
|
# Needed in case of Solaris 10.
|
||||||
#
|
#
|
||||||
# Actions:
|
# Actions:
|
||||||
|
@ -23,7 +23,7 @@ class nginx::package::solaris(
|
||||||
$package_ensure = 'present'
|
$package_ensure = 'present'
|
||||||
){
|
){
|
||||||
package { $package_name:
|
package { $package_name:
|
||||||
ensure => $package_ensure,
|
ensure => $package_ensure,
|
||||||
source => $package_source
|
source => $package_source
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ class nginx::service(
|
||||||
$service_restart = $nginx::service_restart,
|
$service_restart = $nginx::service_restart,
|
||||||
$service_ensure = $nginx::service_ensure,
|
$service_ensure = $nginx::service_ensure,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
$service_enable = $service_ensure ? {
|
$service_enable = $service_ensure ? {
|
||||||
running => true,
|
running => true,
|
||||||
absent => false,
|
absent => false,
|
||||||
|
|
|
@ -5,7 +5,7 @@ nginx::resource::vhost { 'test2.local test2':
|
||||||
www_root => '/var/www/nginx-default',
|
www_root => '/var/www/nginx-default',
|
||||||
ssl => true,
|
ssl => true,
|
||||||
ssl_cert => 'puppet:///modules/sslkey/whildcard_mydomain.crt',
|
ssl_cert => 'puppet:///modules/sslkey/whildcard_mydomain.crt',
|
||||||
ssl_key => 'puppet:///modules/sslkey/whildcard_mydomain.key'
|
ssl_key => 'puppet:///modules/sslkey/whildcard_mydomain.key'
|
||||||
}
|
}
|
||||||
|
|
||||||
nginx::resource::location { 'test2.local-bob':
|
nginx::resource::location { 'test2.local-bob':
|
||||||
|
|
Загрузка…
Ссылка в новой задаче