Forge Home

nfsserver

Puppet Module to manage an NFS server

9,481 downloads

45 latest version

5.0 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

  • 0.2.0 (latest)
  • 0.1.0
released May 10th 2024
This version is compatible with:
  • Puppet Enterprise 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x
  • Puppet >= 5.5 < 9.0.0
  • OpenBSD

Start using this module

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

Add this module to your Puppetfile:

mod 'buzzdeee-nfsserver', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add buzzdeee-nfsserver
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install buzzdeee-nfsserver --version 0.2.0

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: openbsd, nfs

Documentation

buzzdeee/nfsserver — version 0.2.0 May 10th 2024

nfsserver

Table of Contents

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

Overview

This module manages the NFS server on OpenBSD.

Module Description

This module configures the NFS server, including the nfsd, mountd, lockd, and statd services. It configures the /etc/exports file, as well as allows you to manage the exported directories.

Setup

What nfsserver affects

  • manages nfsd, mountd, statd, lockd services
  • manages contents of /etc/exports file
  • manages exported directories

Setup Requirements OPTIONAL

The module depends on bodgit-portmap to configure portmap.

Beginning with nfsserver

In the very simplest case, you just include the following:

include nfsserver

Configuration example for Hiera:

nfsserver::exports:
  export_node1:
    directory:
      '/export/node1':
        owner: 'root'
        group: '0'
        mode: '0755'
    exportparams: '-ro -mapall=nobody'
    clients: '-network=10.0.0 -mask=255.255.255.0'
  export_node2:
    directory:
      '/export/node2'
    exportparams: '-ro -mapall=nobody'
    clients: '-network=10.0.0 -mask=255.255.255.0'

Usage

Reference

Limitations

This version works for OpenBSD NFS server.

Development

Report issues or PRs at the GitHub repository here: https://github.com/buzzdeee/buzzdeee-nfsserver