Forge Home

autofs

A module to enable configuration of AutoFS mounts

9,963 downloads

8,872 latest version

4.8 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.2 (latest)
  • 0.2.1
  • 0.2.0
  • 0.1.0
released Jun 18th 2015
This version is compatible with:
  • Gentoo, Debian, Solaris, RedHat

Start using this module

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

Add this module to your Puppetfile:

mod 'hacking-autofs', '0.2.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add hacking-autofs
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install hacking-autofs --version 0.2.2

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

Documentation

hacking/autofs — version 0.2.2 Jun 18th 2015

Autofs module for Puppet

Description

Puppet module for managing Autofs mountpoints and files.

Some Contrived Example usage

autofs::include { 'portage': mount_base => '/mnt/auto/portage', options => '--timeout=30 --ghost', }

autofs::mount { 'distfiles':
    device  => "portage:/mnt/repositories/distfiles",
    options => 'rsize=8192,wsize=8192,soft,timeo=30,rw,vers=3',
    mapfile => 'portage',
}

autofs::mount { 'packages':
    device  => "portage:/mnt/repositories/packages",
    options => 'rsize=8192,wsize=8192,soft,timeo=30,ro,vers=3',
    mapfile => 'portage',
}

Resulting files

/etc/autofs/auto.master

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

/mnt/auto/portage /etc/autofs/auto.portage --timeout=30 --ghost

/etc/autofs/auto.portage

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

distfiles -rsize=8192,wsize=8192,soft,timeo=30,ro,vers=3 portage:/mnt/repositories/distfiles
packages -rsize=8192,wsize=8192,soft,timeo=30,ro,vers=3 portage:/mnt/repositories/packages