Forge Home

nfs

Configure and manage NFS (client and/or server)

10,445 downloads

106 latest version

3.1 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.1.10 (latest)
  • 0.1.9
  • 0.1.8
  • 0.1.7
  • 0.1.6
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
released Jun 24th 2024
This version is compatible with:
  • , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'ULHPC-nfs', '0.1.10'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ULHPC-nfs
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ULHPC-nfs --version 0.1.10

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

Documentation

ULHPC/nfs — version 0.1.10 Jun 24th 2024

-- mode: markdown; mode: visual-line; --

Nfs Puppet Module

Puppet Forge License Supported Platforms Documentation Status

Configure and manage NFS (client and/or server)

  Copyright (c) 2015 S. Varrette, H. Cartiaux, V. Plugaru, S. Diehl aka. UL HPC Management Team <hpc-sysadmins@uni.lu>
  

| Project Page | Sources | Documentation | Issues |

Synopsis

Configure and manage NFS (client and/or server).

This module implements the following elements:

  • Puppet classes:

    • nfs
    • nfs::client
    • nfs::client::common
    • nfs::client::common::debian
    • nfs::client::common::redhat
    • nfs::params
    • nfs::server
    • nfs::server::common
    • nfs::server::common::debian
    • nfs::server::common::redhat
  • Puppet definitions:

    • nfs::server::export

All these components are configured through a set of variables you will find in manifests/params.pp.

Note: the various operations that can be conducted from this repository are piloted from a Rakefile and assumes you have a running Ruby installation. See docs/contributing.md for more details on the steps you shall follow to have this Rakefile working properly.

Dependencies

See metadata.json. In particular, this module depends on

Overview and Usage

Class nfs

This is the main class defined in this module. It accepts the following parameters:

  • $ensure: default to 'present', can be 'absent'

Use it as follows:

 include ' nfs'

See also tests/init.pp

Class nfs::client

See tests/client.pp

Class nfs::server

See tests/server.pp

Definition nfs::server::export

The definition nfs::server::export provides ... This definition accepts the following parameters:

  • $ensure: default to 'present', can be 'absent'
  • $content: specify the contents of the directive as a string
  • $source: copy a file as the content of the directive.

Example:

    nfs::server::export { 'toto':
          ensure => 'present',
    }

See also tests/server/export.pp

Librarian-Puppet / R10K Setup

You can of course configure the nfs module in your Puppetfile to make it available with Librarian puppet or r10k by adding the following entry:

 # Modules from the Puppet Forge
 mod "ULHPC-nfs"

or, if you prefer to work on the git version:

 mod "ULHPC-nfs", 
     :git => 'https://github.com/ULHPC/puppet-nfs',
     :ref => 'production' 

Issues / Feature request

You can submit bug / issues / feature request using the ULHPC-nfs Puppet Module Tracker.

Developments / Contributing to the code

If you want to contribute to the code, you shall be aware of the way this module is organized. These elements are detailed on docs/contributing.md.

You are more than welcome to contribute to its development by sending a pull request.

Puppet modules tests within a Vagrant box

The best way to test this module in a non-intrusive way is to rely on Vagrant. The Vagrantfile at the root of the repository pilot the provisioning various vagrant boxes available on Vagrant cloud you can use to test this module.

See docs/vagrant.md for more details.

Online Documentation

Read the Docs aka RTFD hosts documentation for the open source community and the ULHPC-nfs puppet module has its documentation (see the docs/ directly) hosted on readthedocs.

See docs/rtfd.md for more details.

Licence

This project and the sources proposed within this repository are released under the terms of the GPL-3.0 licence.

Licence