Forge Home

corp104_samba

Install, deploysm, and configures SAMBA services.

6,542 downloads

5,621 latest version

2.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.1 (latest)
  • 1.0.0
released May 30th 2018
This version is compatible with:
  • Puppet 4.7.0 < 6.0.0
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod '104corp-corp104_samba', '1.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add 104corp-corp104_samba
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install 104corp-corp104_samba --version 1.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: puppet, samba, 104

Documentation

104corp/corp104_samba — version 1.0.1 May 30th 2018

puppet module corp104_samba

Build Status

Table of Contents

  1. Description
  2. Setup - The basics of getting started with corp104_samba
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

The corp104_samba module installs, configures, and manages the corp104_samba service across a range of operating systems and distributions.

Setup

Beginning with corp104_samba

include '::corp104_samba' is enough to get you up and running.

Usage

All parameters for the ntp module are contained within the main ::corp104_samba class, so for any function of the module, set the options you want. See the common usages below for examples.

Install and enable corp104_samba

include '::corp104_samba'

Generate samba share

corp104_samba::share { 'share-sample':
  comment        => 'This share sample',
  path           => '/tmp',
  writable       => true,
  browseable     => true,
  create_mask    => '0644',
  directory_mask => '0755',
  valid_users    => 'smbuser',
  hosts_deny     => ['All'],
  hosts_allow    => ['192.168.0.2'],
}

Reference

Classes

Public classes

  • corp104_samba: Main class, includes all other classes.

Private classes

  • corp104_samba Handles global config.
  • corp104_samba::install Handles the install.
  • corp104_samba::config Handles the config.
  • corp104_samba::service Handles the service.
  • corp104_samba::share Handles the share config.

Limitations

This module cannot guarantee installation of corp104_samba versions that are not available on platform repositories.

This module is officially supported for the following Java versions and platforms:

Development

Puppet modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. Please follow our guidelines when contributing changes.

For more information, see our module contribution guide.

Contributors

To see who's already involved, see the list of contributors.