saltstack-formulas/samba-formula — pull request #3 by kennydo (2014-01-03 10:52:22+00:00)
Title: Changed samba.config state to use data from pillar

The old ``smb.conf`` file was just the default file included with the ``samba`` packages, so I commented out all of the configured options in that file and changed the ``samba.config`` state to instead generate the smb.conf based on data from pillar.

If the user wants the exact same configuration as the default ``smb.conf``, they can just use the ``samba`` state and ignore the ``samba.config`` state.

If a user wants a configuration that's different from the default ``smb.conf``, they can use the ``samba.config`` state, copy the ``pillar.example`` into their own pillar data, and then modify whatever they wanted to change.