Install and configure a samba server.
Note
See the full Salt Formulas installation and usage instructions.
Installs the samba server package and service.
Installs the samba client package.
Includes the samba state.
Creates a smb.conf based on pillar data.
Includes the samba state.
Creates samba users (via smbpasswd) based on pillar data.
Installing the samba package will include a default smb.conf. If you wish to override that config file, use the samba.config state, which creates a new smb.conf file based on pillar data.
The pillar data in pillar.example results in the creation of a smb.conf similar to the packaged smb.conf.