Skip to content

Commit

Permalink
Add the dashboard parameter back
Browse files Browse the repository at this point in the history
But fail the module because sensu-dashboard no longer supported in Puppet
  • Loading branch information
Peter Souter committed Aug 28, 2014
1 parent b0285ae commit 2df541e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
$use_embedded_ruby = false,
$rubyopt = '',
$log_level = 'info',
$dashboard = false,
){

validate_bool($client, $server, $api, $install_repo, $purge_config, $safe_mode, $manage_services)
Expand All @@ -211,6 +212,7 @@
if !is_integer($rabbitmq_port) { fail('rabbitmq_port must be an integer') }
if !is_integer($redis_port) { fail('redis_port must be an integer') }
if !is_integer($api_port) { fail('api_port must be an integer') }
if $dashboard { fail('Sensu-dashboard is deprecated, use a dashboard module. See https://github.com/sensu/sensu-puppet#dashboards')}

# Ugly hack for notifications, better way?
# Put here to avoid computing the conditionals for every check
Expand Down

0 comments on commit 2df541e

Please sign in to comment.