From c124c870e3d19cf3b8676b267860a6f63d4ead7b Mon Sep 17 00:00:00 2001 From: Tomas Barton Date: Tue, 7 Mar 2023 16:59:15 +0100 Subject: [PATCH] Fix documentation name, opt param --- manifests/init.pp | 2 +- manifests/plugin.pp | 2 +- spec/classes/hindsight_spec.rb | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 426608c..2c36ad5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,7 +21,7 @@ # Path where the protobuf streams, checkpoints and statistics are stored. # @param run_dir # Base path containing the running configis and dynamically loaded lua, by default `conf_dir/run` -# @param analysissis_lua_path +# @param analysis_lua_path # Path used by the analysis plugins to look for Lua modules # @param analysis_lua_cpath # Path used by the analysis plugins to look for Lua C modules diff --git a/manifests/plugin.pp b/manifests/plugin.pp index c4cdda3..8c692a3 100644 --- a/manifests/plugin.pp +++ b/manifests/plugin.pp @@ -27,7 +27,7 @@ String $target, Enum['present','absent'] $ensure = 'present', Integer[1] $order = 1, - Optional[Hash] $config = {}, + Hash $config = {}, Boolean $manage_service = $hindsight::manage_service, String $service_name = $hindsight::service_name, Stdlib::Absolutepath $run_dir = $hindsight::run_dir, diff --git a/spec/classes/hindsight_spec.rb b/spec/classes/hindsight_spec.rb index fecba68..7b434ac 100644 --- a/spec/classes/hindsight_spec.rb +++ b/spec/classes/hindsight_spec.rb @@ -119,7 +119,6 @@ it { is_expected.to contain_service('hindsight').with_ensure('stopped') } end - context 'unsupported operating system' do describe 'hindsight class without any parameters on Solaris/Nexenta' do let(:facts) do