title: puppet stdlib 'member" function not working
body: <p>Trying to use the member function of the puppet stdlib module:</p>
  
  <p>effectively:</p>
  
  <pre><code>$myvariable = 'FOO'
  </code></pre>
  
  <p>then when using the member function:</p>
  
  <pre><code>member(['FOO','BAR'], $myvariable)
  </code></pre>
  
  <p>I keep getting the error message:</p>
  
  <pre><code>Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Function 'member' must be the value of a statement at /etc/puppet/modules/mymodule/manifests/init.pp:###  
  </code></pre>