Skip to content
Snippets Groups Projects
Commit 468da466 authored by Hans Persson's avatar Hans Persson
Browse files

Explicitly test for empty string.

In puppet version 4 and later, the empty string is considered true.
This means that conditions written as only 'if $var {' may suddenly
end up taking the opposite code path than originally expected. Add
an explicit test for the empty string to avoid this.
parent c7f0b5d8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment