title: How to check multiple variable is empty or not in Puppet 4.x
body: <p>I am trying to check two or more variables is empty or not. To achieve it, I found the following way. </p>
  
  <pre><code>if $path {
      if $name {
            notify { "Path : ${path}": }
            notify { "Name : ${name}": }
      }
  }
  </code></pre>
  
  <p>If we need to check more than two variables, How to check it out ?</p>
  
  <p>Please suggest any best way to code. </p>