title: SaltStack: getting No top file or master_tops data matches found
body: <p>I am new to SaltStack and following some tutorials and trying to execute state.apply but getting below error:</p>
  
  <blockquote>
  <pre><code># salt "host2" state.apply 
  host2:
  ----------
            ID: states
      Function: no.None
        Result: False
       Comment: No Top file or external nodes data matches found
       Started: 
      Duration: 
       Changes:   
  
  Summary for host2
  ------------
  Succeeded: 0
  Failed:    1
  ------------
  Total states run:     1
  </code></pre>
  </blockquote>
  
  <p>I am able to test.ping successfully to host.
  here is directory structure:</p>
  
  <pre><code>/etc/salt/srv/salt/states
                       |-top.sls
                       |-installations
                             |-init.sls
  </code></pre>
  
  <p>file root entry in master config</p>
  
  <pre><code>file_roots:   
    base:
      - /srv/salt/states
  </code></pre>
  
  <p>top.sls -></p>
  
  <pre><code>base:
    '*':
      - installations
  </code></pre>
  
  <p>init.sls-></p>
  
  <pre><code>install_apache:
    pkg.installed:
      - name: apache2
  </code></pre>