samba
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with samba
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Overview
The Samba module installs, configures, and manages Samba
Module Description
The Samba module manages the install and configuration of samba, and follows the manual pages for samba as close as possible. The module aims to be feature complete in regard to the manuals.
Setup
Usage
Basic usage. Installs the samba client:
class { 'samba::client': }
To manage the samba server:
class { 'samba::server': }
To manage the firewall for samba:
class { 'samba::server':
manage_firewall => true,
}
To manage the winbind server:
class { 'samba::winbind': }
To manage a samba share, use the share defined type:
samba::server::share { 'test':
share_name => 'test',
share_comment => 'MODULES SHOULD GO TO FORGE',
share_path => '/vagrant',
share_guest_ok => 'yes',
}
Note: There are some options that work well with others, please see the man pages for complete info.
Reference
Classes:
- samba::client
- samba::params
- samba::server
- samba::server::install
- samba::server::firewall
- samba::server::config
- samba::server::service
- samba::winbind::install
- samba::winbind::config
- samba::winbind::service
Limitations
This module has been built on and tested against Puppet 3.0 and higher.
The module has been tested on:
- CentOS 6
- Ubuntu 12.04
LDAP configuration has not been added to this module. Look for future releases for support.
Development
Please submit bugs in the form of pull requests.
Release Notes/Contributors/Etc
0.1.0
- Initial release
0.1.1
- Bug fixes
- Parameter validation for winbind
0.2.0
- Restructure of module layout
- Added firewall support