commit
b302fcf598
2 changed files with 5 additions and 5 deletions
|
@ -31,9 +31,9 @@ Add a Proxy Server(s)
|
||||||
<pre>
|
<pre>
|
||||||
node default {
|
node default {
|
||||||
class { 'mcollective': }
|
class { 'mcollective': }
|
||||||
nginx::resource::upstream { 'puppet_rack_app':
|
nginx::resource::upstream { 'puppet_rack_app':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
members => [
|
members => [
|
||||||
'localhost:3000',
|
'localhost:3000',
|
||||||
'localhost:3001',
|
'localhost:3001',
|
||||||
'localhost:3002',
|
'localhost:3002',
|
||||||
|
|
|
@ -103,7 +103,7 @@ define nginx::resource::vhost(
|
||||||
if ($ssl == 'true') {
|
if ($ssl == 'true') {
|
||||||
file { "${nginx::config::nx_temp_dir}/nginx.d/${name}-700-ssl":
|
file { "${nginx::config::nx_temp_dir}/nginx.d/${name}-700-ssl":
|
||||||
ensure => $ensure ? {
|
ensure => $ensure ? {
|
||||||
'absent' => absent,
|
'absent' => absent,
|
||||||
default => 'file',
|
default => 'file',
|
||||||
},
|
},
|
||||||
content => template('nginx/vhost/vhost_ssl_header.erb'),
|
content => template('nginx/vhost/vhost_ssl_header.erb'),
|
||||||
|
@ -112,7 +112,7 @@ define nginx::resource::vhost(
|
||||||
file { "${nginx::config::nx_temp_dir}/nginx.d/${name}-999-ssl":
|
file { "${nginx::config::nx_temp_dir}/nginx.d/${name}-999-ssl":
|
||||||
ensure => $ensure ? {
|
ensure => $ensure ? {
|
||||||
'absent' => absent,
|
'absent' => absent,
|
||||||
default => 'file',
|
default => 'file',
|
||||||
},
|
},
|
||||||
content => template('nginx/vhost/vhost_footer.erb'),
|
content => template('nginx/vhost/vhost_footer.erb'),
|
||||||
notify => Class['nginx::service'],
|
notify => Class['nginx::service'],
|
||||||
|
|
Loading…
Reference in a new issue