This commit is contained in:
Justin Hennessy 2014-03-30 21:23:43 +10:00
Родитель 5e5f9d2ec7
Коммит acc093db32
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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':