File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 32
32
# ['puppetdb_startup_timeout'] - The timeout for puppetdb
33
33
# ['dns_alt_names'] - Comma separated list of alternative DNS names
34
34
# ['digest_algorithm'] - The algorithm to use for file digests.
35
- # ['webserver'] - install 'nginx' (with unicorn) or 'httpd' (with passenger)
35
+ # ['webserver'] - install 'nginx' (with unicorn) or 'httpd' (with passenger) - httpd is default
36
+ # ['listen_address'] - IP for binding the webserver, defaults to *
36
37
#
37
38
# Requires:
38
39
#
84
85
$puppetdb_strict_validation = $::puppet::params::puppetdb_strict_validation,
85
86
$dns_alt_names = [' puppet' ],
86
87
$digest_algorithm = $::puppet::params::digest_algorithm,
87
- $webserver = ' httpd' ,
88
+ $webserver = $::puppet::params::default_webserver,
89
+ $listen_address = $::puppet::params::listen_address,
88
90
) inherits puppet::params {
89
91
90
92
anchor { 'puppet::master::begin' : }
123
125
case $webserver {
124
126
nginx: {
125
127
Anchor[' puppet::master::begin' ] ->
126
- class {'puppet::unicorn' :} ->
128
+ class {'puppet::unicorn' :
129
+ listen_address => $listen_address ,
130
+ } ->
127
131
Anchor[' puppet::master::end' ]
128
132
}
129
133
default: {
Original file line number Diff line number Diff line change 31
31
$puppetdb_strict_validation = true
32
32
$environments = ' config'
33
33
$digest_algorithm = ' md5'
34
+ $listen_address = ' *'
35
+ $default_webserver = ' httpd'
34
36
35
37
# Only used when environments == directory
36
38
$environmentpath = ' $confdir/environments'
You can’t perform that action at this time.
0 commit comments