diff --git a/manifests/init.pp b/manifests/init.pp index 18b591ce..d96a3adc 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -114,6 +114,10 @@ # (int) This is the number of reports that we want the dashboard to display. # Defaults to 10 # +# [*listen*] +# (string) Defaults to 'private' If set to 'public' puppetboard will listen +# on 0.0.0.0; otherwise it will only be accessible via localhost. +# # === Examples # # class { 'puppetboard': @@ -154,7 +158,7 @@ $manage_git = false, $manage_virtualenv = false, $reports_count = $::puppetboard::params::reports_count, - + $listen = $::puppetboard::params::listen, ) inherits ::puppetboard::params { validate_bool($enable_query) validate_bool($experimental) diff --git a/manifests/params.pp b/manifests/params.pp index cd7ea912..50e7f4b1 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -40,4 +40,5 @@ $experimental = false $revision = undef $virtualenv = 'python-virtualenv' + $listen = 'private' }