Module samba
In: /modules/samba/manifests/server.pp
/modules/samba/manifests/params.pp

# Overview

Install, enable and configure a SAMBA Windows share server.

# Example Usage

    class { 'samba::server':
        workgroup            => 'EXAMPLE',
        server_string        => 'Example File Server 01',
        netbios_name         => 'F01',
        interfaces           => [ 'lo', 'eth0' ],
        hosts_allow          => [ '127.', '192.168.' ],
        local_master         => 'yes',
        map_to_guest         => 'Bad User',
        os_level             => '50',
        preferred_master     => 'yes',
        extra_global_options => [
            'printing = BSD',
            'printcap name = /dev/null',
        ],
        shares => {
            'homes' => [
                'comment = Home Directories',
                'browseable = no',
                'writable = yes',
            ],
            'pictures' => [
                'comment = Pictures',
                'path = /srv/pictures',
                'browseable = yes',
                'writable = yes',
                'guest ok = yes',
                'available = yes',
            ],
        },
        selinux_enable_home_dirs => true,
    }

Classes and Modules

Class samba::params
Class samba::server

[Validate]