Skip to content

Commit

Permalink
lint - vertical aligmnent love for blackbox_exporter params
Browse files Browse the repository at this point in the history
  • Loading branch information
bramblek1 committed Oct 19, 2017
1 parent 35177fd commit ff08dcd
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions manifests/blackbox_exporter.pp
Original file line number Diff line number Diff line change
Expand Up @@ -89,31 +89,31 @@
# prober: tcp
# preferred_ip_protocol: ip4
class prometheus::blackbox_exporter (
Hash $modules = {},
$arch = $::prometheus::params::arch,
$bin_dir = $::prometheus::params::bin_dir,
$config_file = $::prometheus::params::blackbox_exporter_config_file,
$config_mode = $::prometheus::params::config_mode,
$download_extension = $::prometheus::params::blackbox_exporter_download_extension,
$download_url = undef,
$download_url_base = $::prometheus::params::blackbox_exporter_download_url_base,
$extra_groups = $::prometheus::params::blackbox_exporter_extra_groups,
$extra_options = '',
$group = $::prometheus::params::blackbox_exporter_group,
$init_style = $::prometheus::params::init_style,
$install_method = $::prometheus::params::install_method,
Boolean $manage_group = true,
Boolean $manage_service = true,
Boolean $manage_user = true,
$os = $::prometheus::params::os,
$package_ensure = $::prometheus::params::blackbox_exporter_package_ensure,
$package_name = $::prometheus::params::blackbox_exporter_package_name,
Boolean $restart_on_change = true,
Boolean $service_enable = true,
$service_ensure = 'running',
$service_name = 'blackbox_exporter',
$user = $::prometheus::params::blackbox_exporter_user,
$version = $::prometheus::params::blackbox_exporter_version,
Hash $modules = {},
$arch = $::prometheus::params::arch,
$bin_dir = $::prometheus::params::bin_dir,
$config_file = $::prometheus::params::blackbox_exporter_config_file,
$config_mode = $::prometheus::params::config_mode,
$download_extension = $::prometheus::params::blackbox_exporter_download_extension,
$download_url = undef,
$download_url_base = $::prometheus::params::blackbox_exporter_download_url_base,
$extra_groups = $::prometheus::params::blackbox_exporter_extra_groups,
$extra_options = '',
$group = $::prometheus::params::blackbox_exporter_group,
$init_style = $::prometheus::params::init_style,
$install_method = $::prometheus::params::install_method,
Boolean $manage_group = true,
Boolean $manage_service = true,
Boolean $manage_user = true,
$os = $::prometheus::params::os,
$package_ensure = $::prometheus::params::blackbox_exporter_package_ensure,
$package_name = $::prometheus::params::blackbox_exporter_package_name,
Boolean $restart_on_change = true,
Boolean $service_enable = true,
$service_ensure = 'running',
$service_name = 'blackbox_exporter',
$user = $::prometheus::params::blackbox_exporter_user,
$version = $::prometheus::params::blackbox_exporter_version,
) inherits prometheus::params {
# Prometheus added a 'v' on the release name at 0.1.0 of blackbox
if versioncmp ($version, '0.1.0') >= 0 {
Expand Down

0 comments on commit ff08dcd

Please sign in to comment.