Skip to content

Commit

Permalink
fix some parameters; ignore empty string assignments; regenerate refe…
Browse files Browse the repository at this point in the history
…rence
  • Loading branch information
zilchms committed Mar 21, 2024
1 parent b6d0453 commit 74644f1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .puppet-lint.rc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
--fail-on-warnings
--no-parameter_documentation-check
--no-parameter_types-check
--no-params-empty-string-assignment-check
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Default value: `''`

##### <a name="-graylog_api--extractor--regex_replace--replace_all"></a>`replace_all`

Data type: `Optional[Boolean]`
Data type: `Boolean`



Expand Down
4 changes: 2 additions & 2 deletions manifests/extractor/regex_replace.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
String $input = '',
String $source_field = '',
String $target_field = '',
String $regex = '',
String $regex = '',
String $replacement = '',
Optional[Boolean] $replace_all = false,
Boolean $replace_all = false,
Optional[String] $cut_or_copy = undef,
Optional[String] $condition_type = undef,
Optional[String] $condition_value = undef,
Expand Down
2 changes: 1 addition & 1 deletion manifests/pipeline.pp
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
# the Message Filter Chain, then the only stream that will have messages at
# processing time will be the 'All messages' stream.
define graylog_api::pipeline (
String $description = '',
Array[Graylog_api::Pipeline::Stage::Loose] $stages,
String $description = '',
Variant[String,Array[String]] $streams = [],
) {
$stage_bodies = $stages.map |$index,$stage| {
Expand Down

0 comments on commit 74644f1

Please sign in to comment.