install_apache: pkg.installed: - name: apache2
Here is information about how the pieces line up and what each piece of the state declaration is called:
<ID Declaration>: <State Module>.<Function>: - name: <name> - <Function Arg> - <Function Arg> - <Function Arg> - <Requisite Declaration>: - <Requisite Reference>
The preceding reference and more advanced examples can be found in the Salt documentation at http://docs.saltstack.com/en/latest/ref/states/highstate.html#large-example.
We haven't talked about requisites yet, so ignore that section for the moment.