title: puppet custom fact for facter
body: <p>Trying to write a custom facter module:</p>
  
  <pre><code>Facter.add("something_status") do
    setcode do
      $string_to_parse = Facter::Util::Resolution.exec('somecommand --print ')
      ... do something to string
      return something-new
    end
  end
  </code></pre>
  
  <p>Very new to ruby...  what would be the proper syntax to do something with this?</p>