Skip to content
Snippets Groups Projects
  • Hans Persson's avatar
    468da466
    Explicitly test for empty string. · 468da466
    Hans Persson authored
    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.
    468da466
    History
    Explicitly test for empty string.
    Hans Persson authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.