puppet_mountpoint

pdk
Module to manage Puppet fileserver mountpoints

abuxton

abuxton

4,124 downloads

4,124 latest version

5.0 quality score

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
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu

Start using this module

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.