title: Saltstack master can't find execution module, says not available
body: <p>I have written a simple module and have put the file under <code>&lt;salt_file_roots&gt;/_modules</code>, the content is more or less:</p>
  
  <pre><code># foomod.py
  def foo(*args):
      return {'name': 'foo', 'result': True}
  </code></pre>
  
  <p>I've run <code>salt minion saltutil.sync_all</code>, have seen the output with the module I added. I can see that it was synced in minion log as well.</p>
  
  <pre><code>minion:
      - modules.foomod
  </code></pre>
  
  <p><strong>1.</strong> I can use it from the minion:</p>
  
  <pre><code>$ salt-call foomod.foo
  local:
      ----------
      name:
          foo
      result:
          True
  </code></pre>
  
  <p><strong>2.</strong> I can include it in a state using <code>module.run</code> and run the state, and it also works.</p>
  
  <p><strong>3.</strong> But when I call it from master, this happens:</p>
  
  <pre><code>$ salt minion foomod.foo
  minion:
      - 'foomod.foo' is not available.
  </code></pre>
  
  <p>I see the call on minion log as well when I call from master</p>
  
  <pre><code>2014-07-29 15:30:44,290 [salt.minion      ][INFO    ] User root Executing command foomod.foo with jid 20140729153044256654
  2014-07-29 15:30:44,291 [salt.minion      ][DEBUG   ] Command details {'tgt_type': 'glob', 'jid': '20140729153044256654', 'tgt': 'minion', 'ret': '', 'user': 'root', 'arg': [], 'fun': 'foomod.foo'}
  2014-07-29 15:30:44,308 [salt.minion      ][INFO    ] Returning information for job: 20140729153044256654
  </code></pre>
  
  <p>So either I skipped the part where I enable this to be run from master directly or I imagined a feature that doesn't exists.</p>
  
  <p>Any help is appreciated.</p>