Skip to content

Commit

Permalink
let validate -a fix some spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
trefzer committed Mar 15, 2024
1 parent fb744a1 commit fdf136c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@
::dovecot::config { "${file} ${recursion}_2_${index}":
file => $file,
recursion => "${recursion}-${index}-b",
values => pick($sections[$index]['values'],{}),
sections => pick($sections[$index]['sections'],[]),
values => pick($sections[$index]['values'], {}),
sections => pick($sections[$index]['sections'], []),
trim => $trim + 2,
}
concat::fragment { "dovecot: ${file} ${recursion} ${index} end":
Expand Down
2 changes: 0 additions & 2 deletions manifests/configfile.pp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
# Defaults to []
# see previous [`sections`](#sections_example) example
#

define dovecot::configfile (
String $path,
String $owner,
Expand Down Expand Up @@ -62,4 +61,3 @@
}
}
}

4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
'owner' => $owner,
'group' => $group,
'mode' => $mode,
'values' => pick($main_config['values'],{}),
'sections' => pick($main_config['sections'],[]),
'values' => pick($main_config['values'], {}),
'sections' => pick($main_config['sections'], []),
}

$file_defaults = {
Expand Down

0 comments on commit fdf136c

Please sign in to comment.