From 10710cec81a96ec94e6571f042f8cba9ef10410c Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Wed, 19 Oct 2022 13:27:52 +0200 Subject: [PATCH] Add indenting example --- spec/fixtures/pass/1.pp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spec/fixtures/pass/1.pp b/spec/fixtures/pass/1.pp index 5b2d6b0..148854c 100644 --- a/spec/fixtures/pass/1.pp +++ b/spec/fixtures/pass/1.pp @@ -52,4 +52,12 @@ 'stuff' ); } + + $groups = if $arg1 { ['wheel'] } else { [] } + + $nested_groups = if $arg1 { + ['wheel'] + } else { + [] + } }