Skip to content

Commit

Permalink
Fix error in expected variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
romdav00 committed Jan 17, 2019
1 parent 37ba468 commit 6fdba3a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
36 changes: 18 additions & 18 deletions manifests/postgres_exporter.pp
Original file line number Diff line number Diff line change
Expand Up @@ -104,25 +104,25 @@
String[1] $user,
String[1] $version,
String[1] $data_source_uri,
Optional[String[1]] $postgres_pass,
Optional[String[1]] $postgres_user,
Enum['custom', 'env', 'file'] $postgres_auth_method,
Hash[String,String] $data_source_custom = {},
Boolean $purge_config_dir = true,
Boolean $restart_on_change = true,
Boolean $service_enable = true,
String[1] $service_ensure = 'running',
String[1] $service_name = 'postgres_exporter',
Optional[String] $init_style = $prometheus::init_style,
String[1] $install_method = $prometheus::install_method,
Boolean $manage_group = true,
Boolean $manage_service = true,
Boolean $manage_user = true,
String[1] $os = $prometheus::os,
String $options = '',
Optional[String] $download_url = undef,
String[1] $arch = $prometheus::real_arch,
String[1] $bin_dir = $prometheus::bin_dir,
Hash[String,String] $data_source_custom = {},
Boolean $purge_config_dir = true,
Boolean $restart_on_change = true,
Boolean $service_enable = true,
String[1] $service_ensure = 'running',
String[1] $service_name = 'postgres_exporter',
Optional[String] $init_style = $prometheus::init_style,
String[1] $install_method = $prometheus::install_method,
Boolean $manage_group = true,
Boolean $manage_service = true,
Boolean $manage_user = true,
String[1] $os = $prometheus::os,
String $options = '',
Optional[String] $download_url = undef,
Optional[String] $postgres_pass = undef,
Optional[String] $postgres_user = undef,
String[1] $arch = $prometheus::real_arch,
String[1] $bin_dir = $prometheus::bin_dir,
) inherits prometheus {

$release = "v${version}"
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/postgres_exporter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
it { is_expected.to be_enabled }
end
end
end
end

0 comments on commit 6fdba3a

Please sign in to comment.