Forge Home

puppet_mountpoint

Module to manage Puppet fileserver mountpoints

5,873 downloads

5,873 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.1.0 (latest)
released Oct 15th 2018
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • 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 'abuxton-puppet_mountpoint', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add abuxton-puppet_mountpoint
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install abuxton-puppet_mountpoint --version 0.1.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

Documentation

abuxton/puppet_mountpoint — version 0.1.0 Oct 15th 2018

puppet_mountpoint

A defined type to make creating additional Puppet FileServer Mount Points easier https://puppet.com/docs/puppet/6.0/file_serving.html#whats-a-mount-point-in-a-puppet-uri.

read the docs here

Table of Contents

  1. Description
  2. Setup - The basics of getting started with puppet_mountpoint
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Description

this module hopefully takes the pain out of config and auth config for mountpoints for the Puppet master or compile masters.

Setup

What puppet_mountpoint affects

Changes Hocon settings for mountpoint auth https://puppet.com/docs/puppet/6.0/file_serving.html#controlling-access-to-a-custom-mount-point-in-authconf

Controls legacy settings in auth.conf https://puppet.com/docs/puppet/6.0/file_serving.html#legacy-authconf

Creates a new mountpoint in fileserver.conf https://puppet.com/docs/puppet/6.0/file_serving.html#creating-a-new-mount-point-in-fileserverconf

Setup Requirements OPTIONAL

Will only work on a Puppet Master or Compile master with the fileserver service.

Beginning with puppet_mountpoint

Decide on the name and folder path for your mount point. create a profile with the resources to configure the $mountpoint::path folder

Usage

Create a profile with the file resources needed to ensure the puppet_mountpoint::path is created then provide that Absolute path as a variable and the name of the mountpoint.

#in a profile applied to puppet master
puppet_mountpoint{ 'name_of_mountpoint':
  path => "/path/to/valid/folder",
}

#in a separate nodes manifest
file {'/example/file':
  ensure => file,
  source => 'puppet:///name_of_mountpoint/filename',
}

Limitations

The module does not create the mountpoint::path folder, there are too many variables in depth and ownership just create file resources to compensate. What it does do is allow you to create multiple mountpoints and authenticate them as desired.

Development

Please feel free

Release Notes/Contributors/Etc.