class example {
$_first = 'example'
notify { $_first: }
$_second = $_first
.regsubst('exam', 'ap')
notify { $_second: }
}
Expected: No errors
Result: Indent warning on the indented regsubst:
$> puppet-lint ./test.pp
ERROR: example not in autoload module layout on line 1
WARNING: class not documented on line 1
WARNING: indent should be 4 chars and is 8 on line 8
Given the following file:
Expected: No errors Result: Indent warning on the indented regsubst: